Struct yew_router_nested::switch::Permissive [−][src]
pub struct Permissive<U>(pub Option<U>);
Expand description
Successfully match even when the captured section can’t be found.
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 !=
.
Option is very permissive in what is allowed.
Build part of a route from 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 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
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.