IIndexAware
trait · ferroui-dynamic-data · v0.5.0
trait IIndexAware
An item that knows its index in a sorted collection (IIndexAware), which UpdateIndex sets.
Deviation (DEVIATIONS.md, DynamicData): the setter takes &self, as the items are shared
(Rc) and keep the index in a Cell; the index is a usize.
Members
index
fn index(self: &Self) -> usize
The index (Index).
set_index
fn set_index(self: &Self, index: usize)
Sets the index (Index).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.