Struct sets::IndexedSet[][src]

pub struct IndexedSet<'a, T> {
    pub ascending: bool,
    pub v: &'a [T],
    pub i: Vec<usize>,
}
Expand description

Struct binding together a set and its sort index, making it an ordered set

Fields

ascending: boolv: &'a [T]i: Vec<usize>

Implementations

Initiliser from unordered slice

Trait Implementations

Display implemented for struct IndexedSet.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.