Enum ibuilder::nodes::FieldKind[][src]

pub enum FieldKind {
    Named(String, Node),
    Unnamed(Node),
}
Expand description

A field of a composite structure. The field may be named (like in structs), or be unnamed (like in Vec).

Variants

Named

The field is named, the first item is the name of the field, the second is the inner node of it.

Tuple Fields of Named

0: String1: Node
Unnamed

The field does not have a name, the value is the inner node of the item.

Tuple Fields of Unnamed

0: Node

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.