Enum rustc_transmute::layout::Byte
source · pub(crate) enum Byte {
Uninit,
Init(u8),
}
Expand description
An instance of a byte is either initialized to a particular value, or uninitialized.
Variants§
Trait Implementations§
impl Copy for Byte
impl Eq for Byte
impl StructuralEq for Byte
impl StructuralPartialEq for Byte
Auto Trait Implementations§
impl RefUnwindSafe for Byte
impl Send for Byte
impl Sync for Byte
impl Unpin for Byte
impl UnwindSafe for Byte
Blanket Implementations§
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: 2 bytes
Size for each variant:
Uninit
: 0 bytesInit
: 1 byte