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

The type of the variant.

Trait Implementations

impl Debug for RpEnumBody
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RpEnumBody
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for RpEnumBody

impl !Sync for RpEnumBody