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>Expand description
If this is unit or tuple-variant/struct, then this is the index of the ctor id.
is_non_exhaustive: boolTrait Implementations
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for VariantData[src]
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for VariantData[src]Auto Trait Implementations
impl RefUnwindSafe for VariantData
impl Send for VariantData
impl Sync for VariantData
impl Unpin for VariantData
impl UnwindSafe for VariantData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,