Enum item::Body
[−]
[src]
pub enum Body { Enum(Vec<Variant>), Struct(Style, Vec<Field>), }
Variants
Enum(Vec<Variant>)
Struct(Style, Vec<Field>)
Trait Implementations
impl ToTokens for Body
[src]
fn to_tokens(&self, tokens: &mut Tokens)
impl PartialEq for Body
[src]
fn eq(&self, __arg_0: &Body) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Body) -> bool
This method tests for !=
.
impl Eq 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