Struct reproto_parser::ast::Field [] [src]

pub struct Field<'input> {
    pub modifier: RpModifier,
    pub name: &'input str,
    pub comment: Vec<&'input str>,
    pub ty: RpType,
    pub field_as: Option<Loc<Value<'input>>>,
}

Fields

Methods

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

Trait Implementations

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

Formats the value using the given formatter.

impl<'input> IntoModel for Field<'input>
[src]

Convert the current type to a model.