Struct reproto_core::RpEnumBody [] [src]

pub struct RpEnumBody {
    pub name: RpName,
    pub local_name: String,
    pub comment: Vec<String>,
    pub decls: Vec<Rc<Loc<RpDecl>>>,
    pub variant_type: RpEnumType,
    pub variants: Vec<Rc<Loc<RpEnumVariant>>>,
    pub codes: Vec<Loc<RpCode>>,
}

Fields

Inner declarations.

The type of the variant.

Trait Implementations

impl Merge for RpEnumBody
[src]

[src]

Merge the current model with another.

impl Debug for RpEnumBody
[src]

[src]

Formats the value using the given formatter.

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