[−][src]Enum yew_router::matcher::MatcherToken
Tokens used to determine how to match and capture sections from a URL.
Variants
Exact(String)
Section-related tokens can be condensed into a match.
Capture(CaptureVariant)
Capture section.
End token - if the string hasn't been consumed entirely, then the parse will fail. This is useful for being able to specify more general matchers for variants that would otherwise match above more specific variants.
Trait Implementations
impl Clone for MatcherToken
[src]
fn clone(&self) -> MatcherToken
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MatcherToken
[src]
impl<'a> From<CaptureOrExact<'a>> for MatcherToken
[src]
fn from(value: CaptureOrExact<'a>) -> MatcherToken
[src]
impl PartialEq<MatcherToken> for MatcherToken
[src]
fn eq(&self, other: &MatcherToken) -> bool
[src]
fn ne(&self, other: &MatcherToken) -> bool
[src]
impl StructuralPartialEq for MatcherToken
[src]
Auto Trait Implementations
impl RefUnwindSafe for MatcherToken
impl Send for MatcherToken
impl Sync for MatcherToken
impl Unpin for MatcherToken
impl UnwindSafe for MatcherToken
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
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> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
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>,