[][src]Struct yew_router::switch::Permissive

pub struct Permissive<U>(pub Option<U>);

Successfully match even when the captured section can't be found.

Trait Implementations

impl<U: Clone> Clone for Permissive<U>[src]

impl<U: Copy> Copy for Permissive<U>[src]

impl<U: Debug> Debug for Permissive<U>[src]

impl<U: PartialEq> PartialEq<Permissive<U>> for Permissive<U>[src]

impl<U> StructuralPartialEq for Permissive<U>[src]

impl<U: Switch> Switch for Permissive<U>[src]

fn from_route_part<STATE>(
    part: String,
    state: Option<STATE>
) -> (Option<Self>, Option<STATE>)
[src]

Option is very permissive in what is allowed.

Auto Trait Implementations

impl<U> RefUnwindSafe for Permissive<U> where
    U: RefUnwindSafe

impl<U> Send for Permissive<U> where
    U: Send

impl<U> Sync for Permissive<U> where
    U: Sync

impl<U> Unpin for Permissive<U> where
    U: Unpin

impl<U> UnwindSafe for Permissive<U> where
    U: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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

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

impl<T> Switch for T where
    T: Display + FromStr
[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.