pub fn to_string(&self) -> String {
        let path = self.path_segments.join("/");
        let mut path = format!("/{}", path); // add the leading '/'
        if let Some(ref query) = self.query {
            path = format!("{}?{}", path, query);
        }
        if let Some(ref fragment) = self.fragment {
            path = format!("{}#{}", path, fragment)
        }
        path
    }
/// Converts the RouteInfo into a string that can be matched upon,
/// as well as stored in the History Api.
Converts the RouteInfo into a string that can be matched upon,
as well as stored in the History Api.
Converts the RouteInfo into a string that can be matched upon as well as stored in the History Api .
pub fn to_string(&self) -> String {
        let path = self.path_segments.join("/");
        let mut path = format!("/{}", path); // add the leading '/'
        if let Some(ref query) = self.query {
            path = format!("{}?{}", path, query);
        }
        if let Some(ref fragment) = self.fragment {
            path = format!("{}#{}", path, fragment)
        }
        path
    }
pub fn to_string ( & self ) -> String { let path = self . path_segments . join ( " " ) ; let mut path = format ! ( " " path ) ; // add the leading '/' if let Some ( ref query ) = self . query { path = format ! ( " " path query ) ; } if let Some ( ref fragment ) = self . fragment { path = format ! ( " " path fragment ) } path }
Converts the RouteInfo into a string that can be matched upon,
as well as stored in the History Api.
Converts the RouteInfo into a string that can be matched upon as well as stored in the History Api .
&self
&self