[−][src]Struct yew_router::switch::Permissive
Successfully match even when the captured section can't be found.
Trait Implementations
impl<U: Clone> Clone for Permissive<U>
[src]
fn clone(&self) -> Permissive<U>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &Permissive<U>) -> bool
[src]
fn ne(&self, other: &Permissive<U>) -> bool
[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]
part: String,
state: Option<STATE>
) -> (Option<Self>, Option<STATE>)
Option is very permissive in what is allowed.
fn build_route_section<STATE>(self, route: &mut String) -> Option<STATE>
[src]
fn key_not_available() -> Option<Self>
[src]
fn switch<STATE>(route: Route<STATE>) -> Option<Self>
[src]
Auto Trait Implementations
impl<U> RefUnwindSafe for Permissive<U> where
U: RefUnwindSafe,
U: RefUnwindSafe,
impl<U> Send for Permissive<U> where
U: Send,
U: Send,
impl<U> Sync for Permissive<U> where
U: Sync,
U: Sync,
impl<U> Unpin for Permissive<U> where
U: Unpin,
U: Unpin,
impl<U> UnwindSafe for Permissive<U> where
U: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Switch for T where
T: Display + FromStr,
[src]
T: Display + FromStr,
fn from_route_part<U>(String, Option<U>) -> (Option<T>, Option<U>)
[src]
fn build_route_section<U>(Self, &mut String) -> Option<U>
[src]
fn switch<STATE>(route: Route<STATE>) -> Option<Self>
[src]
fn key_not_available() -> Option<Self>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,