Struct union_find::QuickUnionUf [] [src]

pub struct QuickUnionUf<V> { /* fields omitted */ }

Union-Find implementation with quick union operation.

Trait Implementations

impl<V: Debug> Debug for QuickUnionUf<V>
[src]

Formats the value using the given formatter.

impl<V: Clone> Clone for QuickUnionUf<V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V: Union> UnionFind<V> for QuickUnionUf<V>
[src]

Returns the size of self.

Inserts a new set into the union. Read more

Join two sets that contains given keys (union operation). Read more

Returns the identifier of the set that the key belongs to.

Returns the reference to the value of the set that the key belongs to.

Returns the mutable reference to the value of the set that the key belongs to.

Creates empty UnionFind struct.

impl<A: Union> FromIterator<A> for QuickUnionUf<A>
[src]

Creates a value from an iterator. Read more

impl<A> Extend<A> for QuickUnionUf<A>
[src]

Extends a collection with the contents of an iterator. Read more