pub struct ItemUnion {
pub attrs: Vec<Attribute>,
pub vis: Visibility,
pub union_token: Union,
pub ident: Ident,
pub generics: Generics,
pub fields: FieldsNamed,
}
Expand description
A union definition: union Foo<A, B> { x: A, y: B }
.
Fields§
§attrs: Vec<Attribute>
§vis: Visibility
§union_token: Union
§ident: Ident
§generics: Generics
§fields: FieldsNamed