Trait union_find::Union [] [src]

pub trait Union: Sized {
    fn union(lval: Self, rval: Self) -> UnionResult<Self>;
}

The value that can be contained with Union.

Required Methods

Union two value into one.

This is used by UnionFind::union operation.

Implementors