pub type AtomicU64 = Atomic<u64>;Expand description
An integer type which can be safely shared between threads.
This type has the same
size and bit validity
as the underlying integer type, u64.
However, the alignment of this type is always equal to its size, even on targets where u64 has a lesser alignment.
For more about the differences between atomic types and non-atomic types as well as information about the portability of this type, please see the module-level documentation.
Note: This type is only available on platforms that support
atomic loads and stores of u64.
Aliased Type§
#[repr(C)]pub struct AtomicU64 { /* private fields */ }Trait Implementations§
impl DynSend for AtomicU64where
Self: Send,
impl DynSync for AtomicU64where
Self: Sync,
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