[−][src]Enum yew_router_route_parser::CaptureVariant
Variants that indicate how part of a string should be captured.
Variants
{}
{*}
{5}
Fields of NumberedUnnamed
sections: usize
Number of sections to match.
Named(String)
{name} - captures a section and adds it to the map with a given name.
ManyNamed(String)
{*:name} - captures over many sections and adds it to the map with a given name.
{2:name} - captures a fixed number of sections with a given name.
Fields of NumberedNamed
Trait Implementations
impl Clone for CaptureVariant
[src]
fn clone(&self) -> CaptureVariant
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CaptureVariant
[src]
impl<'a> From<RefCaptureVariant<'a>> for CaptureVariant
[src]
fn from(v: RefCaptureVariant<'a>) -> Self
[src]
impl PartialEq<CaptureVariant> for CaptureVariant
[src]
fn eq(&self, other: &CaptureVariant) -> bool
[src]
fn ne(&self, other: &CaptureVariant) -> bool
[src]
impl StructuralPartialEq for CaptureVariant
[src]
Auto Trait Implementations
impl RefUnwindSafe for CaptureVariant
impl Send for CaptureVariant
impl Sync for CaptureVariant
impl Unpin for CaptureVariant
impl UnwindSafe for CaptureVariant
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,