Struct reproto_ast::EnumVariant
[−]
[src]
pub struct EnumVariant<'input> { pub name: Loc<Cow<'input, str>>, pub argument: Option<Loc<Value<'input>>>, }
Fields
name: Loc<Cow<'input, str>>
argument: Option<Loc<Value<'input>>>
Trait Implementations
impl<'input> Debug for EnumVariant<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for EnumVariant<'input>
[src]
fn eq(&self, __arg_0: &EnumVariant<'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: &EnumVariant<'input>) -> bool
[src]
This method tests for !=
.