[][src]Struct yew_router::switch::AllowMissing

pub struct AllowMissing<U: Debug>(pub Option<U>);

Allows a section to match, providing a None value, if its contents are entirely missing, or starts with a '/'.

Trait Implementations

impl<U: Clone + Debug> Clone for AllowMissing<U>[src]

impl<U: Copy + Debug> Copy for AllowMissing<U>[src]

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

impl<U: PartialEq + Debug> PartialEq<AllowMissing<U>> for AllowMissing<U>[src]

impl<U: Debug> StructuralPartialEq for AllowMissing<U>[src]

impl<U: Switch + Debug> Switch for AllowMissing<U>[src]

Auto Trait Implementations

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

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

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

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

impl<U> UnwindSafe for AllowMissing<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.