Module core::ptr
[−]
[src]
Raw, unsafe pointers, *const T
, and *mut T
.
Reexports
pub use intrinsics::copy_nonoverlapping; |
pub use intrinsics::copy; |
pub use intrinsics::write_bytes; |
pub use intrinsics::drop_in_place; |
Structs
Shared |
[Unstable] A wrapper around a raw non-null |
Unique |
[Unstable] A wrapper around a raw non-null |
Functions
null |
Creates a null raw pointer. |
null_mut |
Creates a null mutable raw pointer. |
read |
Reads the value from |
read_volatile |
Performs a volatile read of the value from |
replace |
Replaces the value at |
swap |
Swaps the values at two mutable locations of the same type, without
deinitializing either. They may overlap, unlike |
write |
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. |
read_and_drop | [Unstable] |