Struct ptree::builder::TreeBuilder[][src]

pub struct TreeBuilder { /* fields omitted */ }
Expand description

A builder for a tree of StringItems

Implementations

Start building a tree

The text argument will be the top level item’s text.

Add a child to the current item and make the new child current

Finish adding children, and make the current item’s parent current

Add an empty child (leaf item) to the current item

Finish building the tree and return the top level item

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.