Struct union_find::UnionByRankSize [] [src]

pub struct UnionByRankSize(_, _);

Operates the union with using the ramk and the size of the sets as weight.

A smaller ranked set will be the children of a larger ranked set. If both sets have the same rank, compared by the size.

Methods

impl UnionByRankSize
[src]

[src]

Returns the rank of the set.

[src]

Returns the size of the set.

Trait Implementations

impl Copy for UnionByRankSize
[src]

impl Clone for UnionByRankSize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UnionByRankSize
[src]

[src]

Formats the value using the given formatter.

impl Union for UnionByRankSize
[src]

[src]

Union two value into one. Read more

impl Default for UnionByRankSize
[src]

[src]

Returns the "default value" for a type. Read more