Skip to main content

parse_path

Function parse_path 

Source
pub fn parse_path(path: &str) -> Result<Vec<Segment>, ParsePathError>
Expand description

Parse a dot path into its segments.

ยงErrors

Returns a ParsePathError for malformed index syntax (an unclosed [, or a non-digit inside or a stray character after an index).