Struct reproto_parser::ast::EnumBody
[−]
[src]
pub struct EnumBody<'input> { pub name: &'input str, pub comment: Vec<&'input str>, pub ty: Option<Loc<Type>>, pub variants: Vec<Loc<EnumVariant<'input>>>, pub members: Vec<Loc<Member<'input>>>, }
Fields
name: &'input str
comment: Vec<&'input str>
ty: Option<Loc<Type>>
variants: Vec<Loc<EnumVariant<'input>>>
members: Vec<Loc<Member<'input>>>
Trait Implementations
impl<'input> Debug for EnumBody<'input>
[src]
impl<'input> PartialEq for EnumBody<'input>
[src]
fn eq(&self, __arg_0: &EnumBody<'input>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnumBody<'input>) -> bool
[src]
This method tests for !=
.