Enum ibuilder::nodes::Node[][src]

pub enum Node {
    Leaf(Field),
    Composite(String, Vec<FieldKind>),
}
Expand description

A Node of the tree, it represents an item that can be interacted with.

Variants

Leaf

The Node is a leaf node of the tree, i.e. it doesn’t contains subfields, just a value.

Tuple Fields of Leaf

0: Field
Composite

The Node is actually composed by inner fields, for example a Vec is composed by items and a struct by fields.

Tuple Fields of Composite

0: String1: Vec<FieldKind>

Trait Implementations

Formats the value using the given formatter. Read more

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.