/// Instead of pushing a new route, replaces the current route.
Instead of pushing a new route, replaces the current route.
Instead of pushing a new route replaces the current route .
pub fn replace_route(
        &self,
        route: &str,
        title: Option<String>,
        serialized_state: Option<String>,
    ) {
        let _ = self.tx.unbounded_send(RouteEvent::Replace {
            route: route.to_string(),
            title,
            serialized_state,
        });
    }
pub fn replace_route ( & self , route : & str , title : Option < String > , serialized_state : Option < String > , ) { let _ = self . tx . unbounded_send ( RouteEvent :: Replace { route : route . to_string ( ) , title , serialized_state , } ) ; }
Instead of pushing a new route, replaces the current route.
Instead of pushing a new route replaces the current route .
&self
route
&str
title
Option<String>
serialized_state
Option<String>