Enum rustc_codegen_llvm::debuginfo::metadata::VariantInfo [−][src]
enum VariantInfo<'a, 'tcx> {
Adt(&'tcx VariantDef),
Generator {
def_id: DefId,
generator_layout: &'tcx GeneratorLayout<'tcx>,
generator_saved_local_names: &'a IndexVec<GeneratorSavedLocal, Option<Symbol>>,
variant_index: VariantIdx,
},
}Variants
Adt(&'tcx VariantDef)Show fields
Fields of Generator
def_id: DefIdgenerator_layout: &'tcx GeneratorLayout<'tcx>generator_saved_local_names: &'a IndexVec<GeneratorSavedLocal, Option<Symbol>>variant_index: VariantIdxImplementations
Trait Implementations
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for VariantInfo<'a, 'tcx>impl<'a, 'tcx> !Send for VariantInfo<'a, 'tcx>impl<'a, 'tcx> !Sync for VariantInfo<'a, 'tcx>impl<'a, 'tcx> Unpin for VariantInfo<'a, 'tcx>impl<'a, 'tcx> !UnwindSafe for VariantInfo<'a, '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: 32 bytes