Struct reproto_core::RpVariant [] [src]

pub struct RpVariant {
    pub name: RpName,
    pub ident: Loc<String>,
    pub comment: Vec<String>,
    pub ordinal: RpEnumOrdinal,
}

Fields

Methods

impl RpVariant
[src]

[src]

Get the identifier of the variant.

[src]

Get the ordinal value of the variant.

Trait Implementations

impl Debug for RpVariant
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RpVariant
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: 'static, T> Translate<T> for RpVariant where
    F: Flavor,
    T: Translator<Source = F>, 
[src]

[src]

Translate into different flavor.

Auto Trait Implementations

impl !Send for RpVariant

impl !Sync for RpVariant