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

Methods

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

[src]

Access all fields.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for TypeBody<'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 TypeBody<'input>
[src]

Auto Trait Implementations

impl<'input> Send for TypeBody<'input>

impl<'input> Sync for TypeBody<'input>