Enum gxi::VNodeType[][src]

pub enum VNodeType {
    Widget(Box<dyn VWidget>),
    ContainerWidget(Box<dyn VContainerWidget>),
    TopLevelContainerWidget(Box<dyn VContainerWidget>),
}

Variants

Widget(Box<dyn VWidget>)

widget which cannot contain other nodes

Tuple Fields of Widget

0: Box<dyn VWidget>
ContainerWidget(Box<dyn VContainerWidget>)

widget which can hold other widgets

Tuple Fields of ContainerWidget

0: Box<dyn VContainerWidget>
TopLevelContainerWidget(Box<dyn VContainerWidget>)

widget which can hold other widgets but can’t be added to other nodes

Tuple Fields of TopLevelContainerWidget

0: Box<dyn VContainerWidget>

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

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.