Skip to content

Glossary: Rust in Practice

raw pointer

Also written: raw pointers, *const T, *mut T

An address with no borrow rules attached, written `*const u32` or `*mut u32`. Making one is safe, but reading through it needs `unsafe`.

Where the book teaches it

Related terms

dereferencedangling pointerunsafe