Struct union_find::UnionBySize
[−]
[src]
pub struct UnionBySize(_);
Operates the union
with using the size of the sets as weight.
A smaller sized set will be the children of a larger sized set.
Methods
impl UnionBySize
[src]
Trait Implementations
impl Copy for UnionBySize
[src]
impl Clone for UnionBySize
[src]
fn clone(&self) -> UnionBySize
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for UnionBySize
[src]
impl Union for UnionBySize
[src]
fn union(left: UnionBySize, right: UnionBySize) -> UnionResult<UnionBySize>
[src]
Union two value into one. Read more
impl Default for UnionBySize
[src]
fn default() -> UnionBySize
[src]
Returns the "default value" for a type. Read more