pub type Key { Atom(atom.Atom) String(String) Binary(BitArray) }
Atom(atom.Atom)
String(String)
Binary(BitArray)
pub type Path { Path(Subpath) Root }
Path(Subpath)
Root
pub type Subpath { Segment(Key, Subpath) Target(Key) }
Segment(Key, Subpath)
Target(Key)
pub fn child(parent: Path, key: Key) -> Path
Append child to a path.
pub fn from_key(key: Key) -> Path
Construct a one-component path.
pub fn is_root(path: Path) -> Bool