pub struct StaticBuilder<V: Num, K: StaticEdgeKind> { /* private fields */ }Trait Implementations§
Source§impl<V: Num, K: StaticEdgeKind> Builder for StaticBuilder<V, K>
impl<V: Num, K: StaticEdgeKind> Builder for StaticBuilder<V, K>
Source§fn 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> Freeze for StaticBuilder<V, K>
impl<V, K> RefUnwindSafe for StaticBuilder<V, K>
impl<V, K> Send for StaticBuilder<V, K>
impl<V, K> Sync for StaticBuilder<V, K>
impl<V, K> Unpin for StaticBuilder<V, K>
impl<V, K> UnwindSafe for StaticBuilder<V, K>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more