Trait ToRouteSegments

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

Required Methods§

Source

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

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

Implementors§

Source§

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