Struct rs_graph::linkedlistgraph::LinkedListGraphBuilder [−][src]
pub struct LinkedListGraphBuilder<ID, N, E> { /* fields omitted */ }A builder for a LinkedListGraph.
The basic task is to arrange the final outgoing and incoming edges in the linked lists appropriately (i.e. first outgoing, then incoming edges).
Trait Implementations
impl<ID, N, E> Builder for LinkedListGraphBuilder<ID, N, E> where
ID: PrimInt + Unsigned,
N: Default,
E: Default, [src]
impl<ID, N, E> Builder for LinkedListGraphBuilder<ID, N, E> where
ID: PrimInt + Unsigned,
N: Default,
E: Default, [src]type Graph = LinkedListGraph<ID, N, E>
type Graph = LinkedListGraph<ID, N, E>The graph type produced by this builder.
fn with_capacities(nnodes: usize, nedges: usize) -> Self[src]
fn with_capacities(nnodes: usize, nedges: usize) -> Self[src]Create a new, empty builder. Read more
fn reserve(&mut self, nnodes: usize, nedges: usize)[src]
fn reserve(&mut self, nnodes: usize, nedges: usize)[src]Reserve memory for a certain number of nodes and edges.
fn into_graph(self) -> LinkedListGraph<ID, N, E>[src]
fn into_graph(self) -> LinkedListGraph<ID, N, E>[src]Turn the builder into a graph.
Auto Trait Implementations
impl<ID, N, E> RefUnwindSafe for LinkedListGraphBuilder<ID, N, E> where
E: RefUnwindSafe,
ID: RefUnwindSafe,
N: RefUnwindSafe,
E: RefUnwindSafe,
ID: RefUnwindSafe,
N: RefUnwindSafe,
impl<ID, N, E> Send for LinkedListGraphBuilder<ID, N, E> where
E: Send,
ID: Send,
N: Send,
E: Send,
ID: Send,
N: Send,
impl<ID, N, E> Sync for LinkedListGraphBuilder<ID, N, E> where
E: Sync,
ID: Sync,
N: Sync,
E: Sync,
ID: Sync,
N: Sync,
impl<ID, N, E> Unpin for LinkedListGraphBuilder<ID, N, E> where
E: Unpin,
ID: Unpin,
N: Unpin,
E: Unpin,
ID: Unpin,
N: Unpin,
impl<ID, N, E> UnwindSafe for LinkedListGraphBuilder<ID, N, E> where
E: UnwindSafe,
ID: UnwindSafe,
N: UnwindSafe,
E: UnwindSafe,
ID: UnwindSafe,
N: UnwindSafe,