Struct yew_router_nested::switch::AllowMissing [−][src]
Expand description
Allows a section to match, providing a None value, if its contents are entirely missing, or starts with a ‘/’.
Tuple Fields
0: Option<U>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Get self from a part of the state
Build part of a route from itself.
Based on a route, possibly produce an itself.
Called when the key (the named capture group) can’t be located. Instead of failing outright, a default item can be provided instead. Read more
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
Mutably borrows from an owned value. Read more
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.