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

Trait Implementations

impl<'input> Debug for EnumBody<'input>
[src]

[src]

Formats the value using the given formatter.

impl<'input> PartialEq for EnumBody<'input>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'input> Eq for EnumBody<'input>
[src]