/// Match the url that change and update the router with the new current
/// Routes.
Match the url that change and update the router with the new current
Routes.
Match the url that change and update the router with the new current Routes .
pub fn navigate_to_url(&self, url: Url) {
        if let Ok(route_match) = Routes::from_url(url) {
            log!("found route");
            self.navigate_to_new(route_match);
        } else {
            let default = self.default_route();
            self.navigate_to_new(default);
        }
    }
pub fn navigate_to_url ( & self , url : Url ) { if let Ok ( route_match ) = Routes :: from_url ( url ) { log ! ( " " ) ; self . navigate_to_new ( route_match ) ; } else { let default = self . default_route ( ) ; self . navigate_to_new ( default ) ; } }
Match the url that change and update the router with the new current
Routes.
Match the url that change and update the router with the new current Routes .
&self
url
Url