pub struct AttributedBuilder<B, Gx, Nx, Ex, Ax>(_, _);
Expand description

Default builder for an attributes graph.

This builder requires the attributes to be default constructable. All attributes will be initialized with these default values.

Trait Implementations

The graph type produced by this builder.
The type of a nodes.
The type of an edge.
Create a new, empty builder. Read more
Reserve memory for a certain number of nodes and edges.
Add a new node.
Add n new nodes.
Add a new edge.
Return a unique id of a node.
Return a unique id of an edge.
Turn the builder into a graph.
Create a new, empty builder.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.