Trait union_find::UFValue
[−]
[src]
pub trait UFValue: Sized { fn merge(lval: Self, rval: Self) -> Merge<Self>; }
The value that can be contained with UFValue
.
Required Methods
fn merge(lval: Self, rval: Self) -> Merge<Self>
Merge two value into one.
This is used by UnionFind::union
operation.
Implementors
impl UFValue for Size