Skip to main content

render_path_segment

Function render_path_segment 

Source
pub fn render_path_segment<V: RenderView + Sized>(
    render_view: &V,
    seg: &PathSegment,
) -> Vec<String>
Expand description

Default rendering of a single PathSegment into display atoms.

This walks the segment’s parent chain (see PathSegment::parents) and produces an atom for each level using RenderView::render_path_segment_payload. If a level has a disambiguator > 0, it is appended as _<n> (e.g., Foo_2).