Struct configuration::Tree [] [src]

pub struct Tree {
    // some fields omitted
}

A tree.

Methods

impl Tree
[src]

fn new() -> Tree

Create a tree.

fn branch(&self, path: &str) -> Option<Tree>

Return a subtree.

fn forest(&self, path: &str) -> Option<Vec<Tree>>

Return an array of subtrees.

fn get<'l, T: Any>(&'l self, path: &str) -> Option<&'l T>

Read a value.

Trait Implementations

impl From<Options> for Tree
[src]

fn from(options: Options) -> Tree

Performs the conversion.

impl From<Node> for Tree
[src]

fn from(node: Node) -> Tree

Performs the conversion.