Struct reproto_core::RpVariant [] [src]

pub struct RpVariant<F: 'static> where
    F: Flavor
{ pub name: F::Name, pub ident: Loc<String>, pub comment: Vec<String>, pub ordinal: RpEnumOrdinal, }

Fields

Methods

impl<F: 'static> RpVariant<F> where
    F: Flavor
[src]

[src]

Get the identifier of the variant.

[src]

Get the ordinal value of the variant.

Trait Implementations

impl<F: Debug + 'static> Debug for RpVariant<F> where
    F: Flavor,
    F::Name: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone + 'static> Clone for RpVariant<F> where
    F: Flavor,
    F::Name: Clone
[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<F> where
    F: Flavor,
    T: Translator<Source = F>, 
[src]

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> !Send for RpVariant<F>

impl<F> !Sync for RpVariant<F>