Enum reproto_core::RpDecl [] [src]

pub enum RpDecl<F: 'static> where
    F: Flavor
{ Type(Loc<RpTypeBody<F>>), Tuple(Loc<RpTupleBody<F>>), Interface(Loc<RpInterfaceBody<F>>), Enum(Loc<RpEnumBody<F>>), Service(Loc<RpServiceBody<F>>), }

Variants

Methods

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

[src]

[src]

[src]

Important traits for &'a mut [u8]
[src]

Important traits for Vec<u8>
[src]

Convert a declaration into its registered types.

Important traits for Vec<u8>
[src]

Convert a declaration into its names.

[src]

Get stringy kind of the declaration.

[src]

Get the position of the declaration.

Trait Implementations

impl<F: Debug + 'static> Debug for RpDecl<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Translate into different flavor.

impl<F: 'static> Display for RpDecl<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, F: 'static> From<&'a RpDecl<F>> for Span where
    F: Flavor
[src]

[src]

Performs the conversion.

Auto Trait Implementations

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

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