Struct rs_graph::attributed::AttributedBuilder [] [src]

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

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

impl<'b, B, G, Gx, Nx, Ex, Ax> Builder for AttributedBuilder<B, Gx, Nx, Ex, Ax> where
    B: Builder<Graph = G>,
    G: Graph<'b>,
    Gx: Default,
    Nx: Default,
    Ex: Default,
    Ax: Default
[src]

The graph type produced by this builder.

The type of a nodes.

The type of an edge.

[src]

Create a new, empty builder. Read more

[src]

Reserve memory for a certain number of nodes and edges.

[src]

Add a new node.

[src]

Add n new nodes.

[src]

Add a new edge.

[src]

Return a unique id of a node.

[src]

Return a unique id of an edge.

[src]

Turn the builder into a graph.

[src]

Create a new, empty builder.