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
Type(Loc<TypeBody<'input>>)
Tuple(Loc<TupleBody<'input>>)
Interface(Loc<InterfaceBody<'input>>)
Enum(Loc<EnumBody<'input>>)
Service(Loc<ServiceBody<'input>>)
Methods
impl<'input> Decl<'input>
[src]
Trait Implementations
impl<'input> Debug for Decl<'input>
[src]
impl<'input> PartialEq for Decl<'input>
[src]
fn eq(&self, __arg_0: &Decl<'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: &Decl<'input>) -> bool
[src]
This method tests for !=
.