Enum syn_helpers::Structure [−][src]
pub enum Structure<'a> {
Struct {
struct_name: &'a Ident,
struct_attrs: &'a Vec<Attribute>,
},
EnumVariant {
enum_name: &'a Ident,
enum_attrs: &'a Vec<Attribute>,
variant_name: &'a Ident,
variant_attrs: &'a Vec<Attribute>,
},
}
Expand description
The data type the field is under
Variants
Struct
EnumVariant
Implementations
Returns attributes on the declaration of the fields AND if a enum on the enum item
Returns attributes on the declaration of the fields