Struct fera_graph::graphs::static_::StaticBuilder
source · pub struct StaticBuilder<V: Num, K: StaticEdgeKind> { /* private fields */ }
Trait Implementations
sourceimpl<V: Num, K: StaticEdgeKind> Builder for StaticBuilder<V, K>
impl<V: Num, K: StaticEdgeKind> Builder for StaticBuilder<V, K>
sourcefn new(num_vertices: usize, num_edges: usize) -> Self
fn new(num_vertices: usize, num_edges: usize) -> Self
Creates a new builder for a graph with exactly
n
vertices and initial capacity for m
edges. Read moreAuto Trait Implementations
impl<V, K> RefUnwindSafe for StaticBuilder<V, K>where
V: RefUnwindSafe,
<K as StaticEdgeKind>::Edge: RefUnwindSafe,
impl<V, K> Send for StaticBuilder<V, K>where
V: Send,
<K as StaticEdgeKind>::Edge: Send,
impl<V, K> Sync for StaticBuilder<V, K>where
V: Sync,
<K as StaticEdgeKind>::Edge: Sync,
impl<V, K> Unpin for StaticBuilder<V, K>where
V: Unpin,
<K as StaticEdgeKind>::Edge: Unpin,
impl<V, K> UnwindSafe for StaticBuilder<V, K>where
V: UnwindSafe,
<K as StaticEdgeKind>::Edge: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more