Struct reproto_ast::SubType
[−]
[src]
pub struct SubType<'input> { pub name: Loc<Cow<'input, str>>, pub members: Vec<TypeMember<'input>>, pub alias: Option<Loc<Value<'input>>>, }
The body of a sub-type
ⓘThis example is not tested
<name> as <alias> { <members> }
Sub-types in interface declarations.
Fields
name: Loc<Cow<'input, str>>
members: Vec<TypeMember<'input>>
alias: Option<Loc<Value<'input>>>
Trait Implementations
impl<'input> Debug for SubType<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for SubType<'input>
[src]
fn eq(&self, __arg_0: &SubType<'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: &SubType<'input>) -> bool
[src]
This method tests for !=
.