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