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