Generation

Type Alias Generation 

Source
pub type Generation = Opaque<u64>;
Expand description

Opaque is a replacement for integral T in cases where only comparisons must be supported, and it’s desirable to prevent accidental dependency on exact values.

Aliased Type§

#[repr(C)]
pub struct Generation { pub _phantom_0: PhantomData<UnsafeCell<u64>>, pub mValue: u64, }

Fields§

§_phantom_0: PhantomData<UnsafeCell<u64>>§mValue: u64

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