Struct reproto_core::RpEnumBody
[−]
[src]
pub struct RpEnumBody { pub name: RpName, pub ident: String, pub comment: Vec<String>, pub decls: Vec<RpDecl>, pub variant_type: RpEnumType, pub variants: Vec<Rc<Loc<RpVariant>>>, pub codes: Vec<Loc<RpCode>>, }
Fields
name: RpName
ident: String
comment: Vec<String>
decls: Vec<RpDecl>
variant_type: RpEnumType
The type of the variant.
variants: Vec<Rc<Loc<RpVariant>>>
codes: Vec<Loc<RpCode>>
Trait Implementations
impl Debug for RpEnumBody
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RpEnumBody
[src]
fn clone(&self) -> RpEnumBody
[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