Enum reproto_core::RpNamed [] [src]

pub enum RpNamed<'a, F: 'static> where
    F: Flavor
{ Type(&'a Loc<RpTypeBody<F>>), Tuple(&'a Loc<RpTupleBody<F>>), Interface(&'a Loc<RpInterfaceBody<F>>), SubType(&'a Loc<RpSubType<F>>), Enum(&'a Loc<RpEnumBody<F>>), EnumVariant(RpVariantRef<'a, F>), Service(&'a Loc<RpServiceBody<F>>), }

Variants

Methods

impl<'a, F: 'static> RpNamed<'a, F> where
    F: Flavor
[src]

[src]

Get the name of the named element.

[src]

Get the position of the named element.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<'a, F: Clone + 'static> Clone for RpNamed<'a, 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

Auto Trait Implementations

impl<'a, F> Send for RpNamed<'a, F> where
    <F as Flavor>::Endpoint: Sync,
    <F as Flavor>::EnumType: Sync,
    <F as Flavor>::Field: Sync,
    <F as Flavor>::Name: Sync

impl<'a, F> Sync for RpNamed<'a, F> where
    <F as Flavor>::Endpoint: Sync,
    <F as Flavor>::EnumType: Sync,
    <F as Flavor>::Field: Sync,
    <F as Flavor>::Name: Sync