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