pub struct DisjointSet { /* private fields */ }Expand description
A disjoint set forest with path compression and union by rank.
Implementations§
Source§impl DisjointSet
impl DisjointSet
Trait Implementations§
Source§impl Clone for DisjointSet
impl Clone for DisjointSet
Source§fn clone(&self) -> DisjointSet
fn clone(&self) -> DisjointSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DisjointSet
impl RefUnwindSafe for DisjointSet
impl Send for DisjointSet
impl Sync for DisjointSet
impl Unpin for DisjointSet
impl UnsafeUnpin for DisjointSet
impl UnwindSafe for DisjointSet
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