Enum reproto_parser::ast::Decl [] [src]

pub enum Decl<'input> {
    Type(Loc<TypeBody<'input>>),
    Tuple(Loc<TupleBody<'input>>),
    Interface(Loc<InterfaceBody<'input>>),
    Enum(Loc<EnumBody<'input>>),
    Service(Loc<ServiceBody<'input>>),
}

Variants

Methods

impl<'input> Decl<'input>
[src]

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'input> PartialEq for Decl<'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 Decl<'input>
[src]