Crate option_vec [] [src]

OptionVec<T>; an abstraction over Vec<Option<T>>

An element in an OptionVec<T> can be accessed by index and maintains its position when elements are removed from the container.

An element inserted into an OptionVec<T> will occupy the first available position in the container.

Structs

IntoIter

An owned iterator of OptionVec<T> elements.

Iter

An iterator of borrowed OptionVec<T> elements.

IterMut

An iterator of mutable OptionVec<T> elements.

OptionVec

An abstraction over Vec<Option<T>>