Skip to main content

stringify_path_with

Function stringify_path_with 

Source
pub fn stringify_path_with(
    segments: &[Segment],
    prefer_dot_for_indices: bool,
) -> String
Expand description

Build a dot path from segments. When prefer_dot_for_indices is set, indices after the first segment are written as .0 rather than [0].