pub enum RpPathPart<F>where
F: Flavor + 'static,{
Variable(RpEndpointArgument<F>),
Segment(String),
}
Expand description
A part of a step.
Variants§
Variable(RpEndpointArgument<F>)
Segment(String)
Trait Implementations§
Source§impl<F> Clone for RpPathPart<F>
impl<F> Clone for RpPathPart<F>
Source§fn clone(&self) -> RpPathPart<F>
fn clone(&self) -> RpPathPart<F>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<F> Debug for RpPathPart<F>
impl<F> Debug for RpPathPart<F>
Source§impl<F> PartialEq for RpPathPart<F>
impl<F> PartialEq for RpPathPart<F>
Source§impl<F> Serialize for RpPathPart<F>
impl<F> Serialize for RpPathPart<F>
Source§impl<F, T> Translate<T> for RpPathPart<F>where
F: Flavor + 'static,
T: Translator<Source = F>,
impl<F, T> Translate<T> for RpPathPart<F>where
F: Flavor + 'static,
T: Translator<Source = F>,
Source§fn translate(
self,
diag: &mut Diagnostics,
translator: &T,
) -> Result<RpPathPart<T::Target>>
fn translate( self, diag: &mut Diagnostics, translator: &T, ) -> Result<RpPathPart<T::Target>>
Translate into different flavor.
type Source = F
type Out = RpPathPart<<T as Translator>::Target>
impl<F> Eq for RpPathPart<F>
impl<F> StructuralPartialEq for RpPathPart<F>where
F: Flavor + 'static,
Auto Trait Implementations§
impl<F> Freeze for RpPathPart<F>
impl<F> RefUnwindSafe for RpPathPart<F>
impl<F> !Send for RpPathPart<F>
impl<F> !Sync for RpPathPart<F>
impl<F> Unpin for RpPathPart<F>
impl<F> UnwindSafe for RpPathPart<F>
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