Crate sets

source · []
Expand description

Operations on Sets, Ordered Sets, Indexed Sets, Ranked Sets

Modules

Mutable set operations, implemented for the four types of sets

Set operations, implemented for the four types of sets

Structs

Struct holding an (unordered)git 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

Mutable methods for all four of the set structs

Standard 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