Struct rustc::ty::VariantDefData
[−]
[src]
pub struct VariantDefData<'tcx, 'container: 'tcx> { pub did: DefId, pub name: Name, pub disr_val: Disr, pub fields: Vec<FieldDefData<'tcx, 'container>>, pub kind: VariantKind, }
Unstable (
rustc_private
)Fields
did: DefId
Unstable (
rustc_private
)The variant's DefId. If this is a tuple-like struct, this is the DefId of the struct's ctor.
name: Name
Unstable (
rustc_private
)disr_val: Disr
Unstable (
rustc_private
)fields: Vec<FieldDefData<'tcx, 'container>>
Unstable (
rustc_private
)kind: VariantKind
Unstable (
rustc_private
)