pub type AtomicPtr<T> = Atomic<*mut T>;Expand description
A raw pointer type which can be safely shared between threads.
This type has the same size and bit validity as a *mut T.
Note: This type is only available on platforms that support atomic loads and stores of pointers. Its size depends on the target pointer’s size.
Aliased Type§
pub struct AtomicPtr<T> { /* private fields */ }Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes