Struct reproto_core::RpInterfaceBody
[−]
[src]
pub struct RpInterfaceBody { pub name: RpName, pub local_name: String, pub comment: Vec<String>, pub decls: Vec<Rc<Loc<RpDecl>>>, pub fields: Vec<Loc<RpField>>, pub codes: Vec<Loc<RpCode>>, pub sub_types: BTreeMap<String, Rc<Loc<RpSubType>>>, }
Fields
name: RpName
local_name: String
comment: Vec<String>
decls: Vec<Rc<Loc<RpDecl>>>
Inner declarations.
fields: Vec<Loc<RpField>>
codes: Vec<Loc<RpCode>>
sub_types: BTreeMap<String, Rc<Loc<RpSubType>>>
Methods
impl RpInterfaceBody
[src]
Trait Implementations
impl Merge for RpInterfaceBody
[src]
fn merge(&mut self, source: RpInterfaceBody) -> Result<()>
[src]
Merge the current model with another.
impl Debug for RpInterfaceBody
[src]
impl Clone for RpInterfaceBody
[src]
fn clone(&self) -> RpInterfaceBody
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more