Struct reproto_core::RpSubType [] [src]

pub struct RpSubType<F: 'static> where
    F: Flavor
{ pub name: F::Name, pub ident: String, pub comment: Vec<String>, pub decls: Vec<RpDecl<F>>, pub fields: Vec<Loc<F::Field>>, pub codes: Vec<Loc<RpCode>>, pub sub_type_name: Option<Loc<String>>, }

Fields

Inner declarations.

Methods

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

[src]

[src]

Access the set of fields which are used to make this sub-type unique.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> Send for RpSubType<F> where
    <F as Flavor>::Endpoint: Send,
    <F as Flavor>::EnumType: Send,
    <F as Flavor>::Field: Send,
    <F as Flavor>::Name: Send

impl<F> Sync for RpSubType<F> where
    <F as Flavor>::Endpoint: Sync,
    <F as Flavor>::EnumType: Sync,
    <F as Flavor>::Field: Sync,
    <F as Flavor>::Name: Sync