Module core::ptr 1.0.0[−][src]
Raw, unsafe pointers, *const T
, and *mut T
.
Re-exports
pub use intrinsics::copy_nonoverlapping; |
pub use intrinsics::copy; |
pub use intrinsics::write_bytes; |
Structs
NonNull |
|
Functions
drop_in_place⚠ |
Executes the destructor (if any) of the pointed-to value. |
eq |
Compare raw pointers for equality. |
null |
Creates a null raw pointer. |
null_mut |
Creates a null mutable raw pointer. |
read⚠ |
Reads the value from |
read_unaligned⚠ |
Reads the value from |
read_volatile⚠ |
Performs a volatile read of the value from |
replace⚠ |
Moves |
swap⚠ |
Swaps the values at two mutable locations of the same type, without deinitializing either. |
swap_nonoverlapping⚠ |
Swaps a sequence of values at two mutable locations of the same type. |
write⚠ |
Overwrites a memory location with the given value without reading or dropping the old value. |
write_unaligned⚠ |
Overwrites a memory location with the given value without reading or dropping the old value. |
write_volatile⚠ |
Performs a volatile write of a memory location with the given value without reading or dropping the old value. |