Enum rustc_target::abi::InitKind
source · [−]pub enum InitKind {
Zero,
Uninit,
}
Expand description
Used in might_permit_raw_init
to indicate the kind of initialisation
that is checked to be valid
Variants
Zero
Uninit
Trait Implementations
impl Copy for InitKind
impl Eq for InitKind
impl StructuralEq for InitKind
impl StructuralPartialEq for InitKind
Auto Trait Implementations
impl RefUnwindSafe for InitKind
impl Send for InitKind
impl Sync for InitKind
impl Unpin for InitKind
impl UnwindSafe for InitKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 1 byte
Size for each variant:
Zero
: 0 bytesUninit
: 0 bytes