Module enso_data::opt_vec[][src]

Expand description

A sparse vector implementation.

Structs

OptVec

A contiguous growable sparse array type. Similar to Vec<T>, but allowing missing values. After a value is removed, it remembers the index for reuse in the future. Unlike Vec, it is parametrized with optional Index type variable which will be used for indexing the vector. Index have to implement the Index trait.

Type Definitions

Iter

Iterator type of this vector.

IterMut

Mutable iterator type of this vector.

OptionAsRef

Subtype of Iter.

OptionAsRefMut

Subtype of IterMut.

Trait aliases

Index

A trait for any vector index type.