[][src]Trait yew_router::router::RedirectFn

pub trait RedirectFn<SW, STATE>: Fn(Route<STATE>) -> SW { }

Redirection function that takes a route that didn't match any of the Switch variants, and converts it to a switch variant.

Implementors

impl<T, SW, STATE> RedirectFn<SW, STATE> for T where
    T: Fn(Route<STATE>) -> SW, 
[src]

Loading content...