Struct rustc_middle::mir::DestructuredConst [−][src]
pub struct DestructuredConst<'tcx> {
pub variant: Option<VariantIdx>,
pub fields: &'tcx [&'tcx Const<'tcx>],
}Expand description
The constituent parts of an ADT or array.
Fields
variant: Option<VariantIdx>fields: &'tcx [&'tcx Const<'tcx>]Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for DestructuredConst<'tcx>impl<'tcx> !Send for DestructuredConst<'tcx>impl<'tcx> !Sync for DestructuredConst<'tcx>impl<'tcx> Unpin for DestructuredConst<'tcx>impl<'tcx> !UnwindSafe for DestructuredConst<'tcx>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: 24 bytes