Struct sets::RankedSet [−][src]
Expand description
Struct holding a borrowed unordered set and a vector of its ranks (ascending or descending).
Fields
ascending: bool
v: Vec<T>
i: Vec<usize>
Implementations
Initiliser, ranks an unordered slice
Initiliser, ranks an unordered Set
From Oredered is not often needed, as the index will be trivial
Converts sort index to ranks
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RankedSet<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for RankedSet<T> where
T: UnwindSafe,