Trait ToRouteSegments

Source
pub trait ToRouteSegments {
    // Required method
    fn display_route_segments(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}

Required Methods§

Source

fn display_route_segments(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Display the route segments with each route segment separated by a /. This should not start with a /.

Implementors§

Source§

impl<I, T> ToRouteSegments for I
where T: Display, &'a I: for<'a> IntoIterator<Item = &'a T>,