Struct force_graph::Node[][src]

pub struct Node<UserNodeData = ()> {
    pub data: NodeData<UserNodeData>,
    // some fields omitted
}
Expand description

References a node in the ForceGraph. Can not be constructed by the user.

Fields

data: NodeData<UserNodeData>

The node data provided by the user.

Implementations

The horizontal position of the node.

The vertical position of the node.

The index used to reference the node in the ForceGraph.

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.