Struct rustc_metadata::rmeta::VariantData [−][src]
struct VariantData {
ctor_kind: CtorKind,
discr: VariantDiscr,
ctor: Option<DefIndex>,
is_non_exhaustive: bool,
}Fields
ctor_kind: CtorKinddiscr: VariantDiscrctor: Option<DefIndex>If this is unit or tuple-variant/struct, then this is the index of the ctor id.
is_non_exhaustive: boolTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VariantDataimpl Send for VariantDataimpl Sync for VariantDataimpl Unpin for VariantDataimpl UnwindSafe for VariantDataBlanket Implementations
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: 20 bytes