Struct syntex_syntax::ast::Variant_
[−]
[src]
pub struct Variant_ { pub name: Ident, pub attrs: Vec<Attribute>, pub data: VariantData, pub disr_expr: Option<P<Expr>>, }
Fields
name | |
attrs | |
data | |
disr_expr | Explicit discriminant, eg |