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]

[src]

Returns the size of the set.

Trait Implementations

impl Copy for UnionBySize
[src]

impl Clone for UnionBySize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UnionBySize
[src]

[src]

Formats the value using the given formatter.

impl Union for UnionBySize
[src]

[src]

Union two value into one. Read more

impl Default for UnionBySize
[src]

[src]

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