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.

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.