pub enum RpNamed<'a, F>where
F: Flavor + 'static,{
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§
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>>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, F> Freeze for RpNamed<'a, F>
impl<'a, F> RefUnwindSafe for RpNamed<'a, F>where
<F as Flavor>::Name: RefUnwindSafe,
<F as Flavor>::EnumType: RefUnwindSafe,
<F as Flavor>::Field: RefUnwindSafe,
<F as Flavor>::Endpoint: RefUnwindSafe,
impl<'a, F> Send for RpNamed<'a, F>
impl<'a, F> Sync for RpNamed<'a, F>
impl<'a, F> Unpin for RpNamed<'a, F>
impl<'a, F> UnwindSafe for RpNamed<'a, F>where
<F as Flavor>::Name: RefUnwindSafe,
<F as Flavor>::EnumType: RefUnwindSafe,
<F as Flavor>::Field: RefUnwindSafe,
<F as Flavor>::Endpoint: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more