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

Methods

impl<'input> InterfaceBody<'input>
[src]

[src]

Access all fields.

Trait Implementations

impl<'input> Debug for InterfaceBody<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for InterfaceBody<'input>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'input> Eq for InterfaceBody<'input>
[src]

Auto Trait Implementations

impl<'input> Send for InterfaceBody<'input>

impl<'input> Sync for InterfaceBody<'input>