Struct reproto_parser::ast::TypeBody
[−]
[src]
pub struct TypeBody<'input> { pub name: &'input str, pub comment: Vec<&'input str>, pub members: Vec<Loc<Member<'input>>>, }
Fields
name: &'input str
comment: Vec<&'input str>
members: Vec<Loc<Member<'input>>>
Trait Implementations
impl<'input> Debug for TypeBody<'input>
[src]
impl<'input> IntoModel for TypeBody<'input>
[src]
type Output = Rc<RpTypeBody>
fn into_model(self) -> Result<Rc<RpTypeBody>>
Convert the current type to a model.