switch

Function switch 

Source
pub fn switch(route: Route) -> Html
Expand description

Switch function to render the appropriate page based on route