Enum rustc_ap_rustc_ast::ast::VariantData [−][src]
Expand description
Fields and constructor ids of enum variants and structs.
Variants
Struct variant.
E.g., Bar { .. }
as in enum Foo { Bar { .. } }
.
Tuple variant.
E.g., Bar(..)
as in enum Foo { Bar(..) }
.
Unit(NodeId)
Unit variant.
E.g., Bar = ..
as in enum Foo { Bar = .. }
.
Implementations
Trait Implementations
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V