Struct syn::DataEnum [−][src]
pub struct DataEnum {
pub enum_token: Enum,
pub brace_token: Brace,
pub variants: Punctuated<Variant, Comma>,
}This is supported on crate feature
derive only.An enum input to a proc_macro_derive macro.
This type is available only if Syn is built with the "derive"
feature.
Fields
enum_token: Enumbrace_token: Bracevariants: Punctuated<Variant, Comma>Trait Implementations
impl Clone for DataEnum[src]
impl Clone for DataEnum[src]This is supported on crate feature
clone-impls only.fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for DataEnum
impl RefUnwindSafe for DataEnumimpl UnwindSafe for DataEnum
impl UnwindSafe for DataEnum