pub enum RpDecl<F>where
F: Flavor + 'static,{
Type(Loc<RpTypeBody<F>>),
Tuple(Loc<RpTupleBody<F>>),
Interface(Loc<RpInterfaceBody<F>>),
Enum(Loc<RpEnumBody<F>>),
Service(Loc<RpServiceBody<F>>),
}
Variants§
Type(Loc<RpTypeBody<F>>)
Tuple(Loc<RpTupleBody<F>>)
Interface(Loc<RpInterfaceBody<F>>)
Enum(Loc<RpEnumBody<F>>)
Service(Loc<RpServiceBody<F>>)
Implementations§
Source§impl<F> RpDecl<F>where
F: Flavor + 'static,
impl<F> RpDecl<F>where
F: Flavor + 'static,
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for RpDecl<F>
impl<F> RefUnwindSafe for RpDecl<F>where
<F as Flavor>::Name: RefUnwindSafe,
<F as Flavor>::EnumType: RefUnwindSafe,
<F as Flavor>::Field: RefUnwindSafe,
<F as Flavor>::Endpoint: RefUnwindSafe,
impl<F> Send for RpDecl<F>
impl<F> Sync for RpDecl<F>
impl<F> Unpin for RpDecl<F>
impl<F> UnwindSafe for RpDecl<F>where
<F as Flavor>::Name: UnwindSafe,
<F as Flavor>::EnumType: UnwindSafe,
<F as Flavor>::Field: UnwindSafe,
<F as Flavor>::Endpoint: UnwindSafe,
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