Struct rustc_middle::mir::interpret::allocation::InitMask [−][src]
Expand description
A bitmask where each bit refers to the byte with the same index. If the bit is true, the byte
is initialized. If it is false the byte is uninitialized.
Fields
blocks: Vec<u64>len: SizeImplementations
Checks whether the range start..end (end-exclusive) is entirely initialized.
Returns Ok(()) if it’s initialized. Otherwise returns a range of byte
indexes for the first contiguous span of the uninitialized access.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for InitMask
impl UnwindSafe for InitMask
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 32 bytes