[][src]Enum yew_router_min_route_parser::MatcherToken

pub enum MatcherToken {
    Exact(String),
    Capture(CaptureVariant),
    End,
}

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 section.

End

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]

impl Debug for MatcherToken[src]

impl<'a> From<CaptureOrExact<'a>> for MatcherToken[src]

impl PartialEq<MatcherToken> for MatcherToken[src]

impl StructuralPartialEq for MatcherToken[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.