Struct foxbox_taxonomy::parse::Path [] [src]

pub struct Path {
    // some fields omitted
}

A path in the JSON tree. Used for displaying error messages.

Methods

impl Path

fn new() -> Self

Create an empty Path.

fn push_str<F, T>(&self, suffix: &str, cb: F) -> T where F: FnOnce(Path) -> T

Push a suffix after a path.

fn push_index<F, T>(&self, index: usize, cb: F) -> T where F: FnOnce(Path) -> T

fn push<F, T>(&self, suffix: &str, cb: F) -> T where F: FnOnce(Path) -> T

fn to_string(&self) -> String

Trait Implementations

Derived Implementations

impl Debug for Path

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Path

fn clone(&self) -> Path

1.0.0fn clone_from(&mut self, source: &Self)