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

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

Variants

Trait Implementations

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

Formats the value using the given formatter.

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

Convert the current type to a model.