Skip to main content

compose_path

Function compose_path 

Source
pub fn compose_path<'a, Parts>(
    parts: Parts,
    syntax: &impl PathSyntaxAlg,
) -> String
where Parts: IntoIterator<Item = &'a RoutePath>,
Expand description

Composes one absolute path from the parts a selector holds, spelled as syntax reads them.

Selector composition concatenates path parts, so every interpreter shares one rule: each segment is preceded by exactly one separator, and a selector holding no segment matches the root.