Enum syn::Body
[−]
[src]
pub enum Body { Enum(Vec<Variant>), Struct(VariantData), }
Variants
Enum(Vec<Variant>)
Struct(VariantData)
Trait Implementations
impl ToTokens for Body
[src]
fn to_tokens(&self, tokens: &mut Tokens)
impl Debug for Body
[src]
impl Clone for Body
[src]
fn clone(&self) -> Body
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more