Enum reproto_core::RpPathPart
[−]
[src]
pub enum RpPathPart<F: 'static> where
F: Flavor, { Variable(RpEndpointArgument<F>), Segment(String), }
A part of a step.
Variants
Variable(RpEndpointArgument<F>)
Segment(String)
Trait Implementations
impl<F: Debug + 'static> Debug for RpPathPart<F> where
F: Flavor,
[src]
F: Flavor,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<F: Clone + 'static> Clone for RpPathPart<F> where
F: Flavor,
[src]
F: Flavor,
fn clone(&self) -> RpPathPart<F>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F: PartialEq + 'static> PartialEq for RpPathPart<F> where
F: Flavor,
[src]
F: Flavor,
fn eq(&self, __arg_0: &RpPathPart<F>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RpPathPart<F>) -> bool
[src]
This method tests for !=
.
impl<F: Eq + 'static> Eq for RpPathPart<F> where
F: Flavor,
[src]
F: Flavor,
impl<F: 'static, T> Translate<T> for RpPathPart<F> where
F: Flavor,
T: Translator<Source = F>,
[src]
F: Flavor,
T: Translator<Source = F>,
type Source = F
type Out = RpPathPart<T::Target>
fn translate(
self,
diag: &mut Diagnostics,
translator: &T
) -> Result<RpPathPart<T::Target>>
[src]
self,
diag: &mut Diagnostics,
translator: &T
) -> Result<RpPathPart<T::Target>>
Translate into different flavor.