Struct syn::DataUnion [−][src]
pub struct DataUnion {
pub union_token: Union,
pub fields: FieldsNamed,
}
Expand description
An untagged union input to a proc_macro_derive
macro.
This type is available only if Syn is built with the "derive"
feature.
Fields
union_token: Union
fields: FieldsNamed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DataUnion
impl UnwindSafe for DataUnion
Blanket Implementations
Mutably borrows from an owned value. Read more