Struct rs_graph::wrapped::WrappedBuilder [] [src]

pub struct WrappedBuilder<G, B>(_, _)
where
    G: WrappedGraph
;

A builder for a wrapped graph.

Trait Implementations

impl<G, B> Builder for WrappedBuilder<G, B> where
    G: WrappedGraph,
    B: Builder<Graph = G::Graph>, 
[src]

The graph type produced by this builder.

The type of a nodes.

The type of an edge.

[src]

Create a new, empty builder.

[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.