Struct rs_graph::attributed::AttributedBuilder [−][src]
pub struct AttributedBuilder<B, Gx, Nx, Ex>(_, _);
👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
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> Builder for AttributedBuilder<B, Gx, Nx, Ex> where
B: Builder<Graph = G>,
G: GraphSize<'b>,
Gx: Default,
Nx: Default,
Ex: Default, [src]
impl<'b, B, G, Gx, Nx, Ex> Builder for AttributedBuilder<B, Gx, Nx, Ex> where
B: Builder<Graph = G>,
G: GraphSize<'b>,
Gx: Default,
Nx: Default,
Ex: Default, [src]type Graph = Attributed<G, Gx, Nx, Ex>
type Graph = Attributed<G, Gx, Nx, Ex>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) -> Attributed<G, Gx, Nx, Ex>[src]
fn into_graph(self) -> Attributed<G, Gx, Nx, Ex>[src]Turn the builder into a graph.
Auto Trait Implementations
impl<B, Gx, Nx, Ex> RefUnwindSafe for AttributedBuilder<B, Gx, Nx, Ex> where
B: RefUnwindSafe,
Ex: RefUnwindSafe,
Gx: RefUnwindSafe,
Nx: RefUnwindSafe,
B: RefUnwindSafe,
Ex: RefUnwindSafe,
Gx: RefUnwindSafe,
Nx: RefUnwindSafe,
impl<B, Gx, Nx, Ex> Send for AttributedBuilder<B, Gx, Nx, Ex> where
B: Send,
Ex: Send,
Gx: Send,
Nx: Send,
B: Send,
Ex: Send,
Gx: Send,
Nx: Send,
impl<B, Gx, Nx, Ex> Sync for AttributedBuilder<B, Gx, Nx, Ex> where
B: Sync,
Ex: Sync,
Gx: Sync,
Nx: Sync,
B: Sync,
Ex: Sync,
Gx: Sync,
Nx: Sync,
impl<B, Gx, Nx, Ex> Unpin for AttributedBuilder<B, Gx, Nx, Ex> where
B: Unpin,
Ex: Unpin,
Gx: Unpin,
Nx: Unpin,
B: Unpin,
Ex: Unpin,
Gx: Unpin,
Nx: Unpin,
impl<B, Gx, Nx, Ex> UnwindSafe for AttributedBuilder<B, Gx, Nx, Ex> where
B: UnwindSafe,
Ex: UnwindSafe,
Gx: UnwindSafe,
Nx: UnwindSafe,
B: UnwindSafe,
Ex: UnwindSafe,
Gx: UnwindSafe,
Nx: UnwindSafe,