Enum conrod_core::graph::Node[][src]

pub enum Node {
    Widget(Container),
    Placeholder,
}
Expand description

A node for use within the Graph.

Variants

Widget(Container)

A widget constructed by a user.

Tuple Fields of Widget

0: Container
Placeholder

A placeholder node - used when reserving a place for a Widget within the Graph.

It may also be used to represent a node that was once pre-occuppied by a widget who was not set during the last set_widgets stage.

Implementations

Whether or not the Node is of the Widget variant.

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.