Struct reproto_core::RpEnumBody
[−]
[src]
pub struct RpEnumBody {
pub name: RpName,
pub local_name: 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
local_name: 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]
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