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

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl<'input> Send for SubType<'input>

impl<'input> Sync for SubType<'input>