Crate sets

source · []

Modules

Structs

Struct holding an unordered set and its sort index. Thus it is an index ordered set (ascending or descending).

Ordered Set, holding an explicitly sorted (ascending or descending) generic Vec. Often is the final result of some set operations.

Struct holding an unordered set and a vector of its ranks (ascending or descending).

Unordered set holding a generic Vec. Usually is the initial input.

Traits

Common methods for all four of the set structs.

Functions

Constructs a trivial index (for already sorted sets), of required ascending or descending order and size