Expand description
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ยง
- Enumerate
- An enumerated iterator of borrowed
OptionVec<T>
elements, yielding(usize, &T)
. - Enumerate
Mut - An enumerated iterator of mutable
OptionVec<T>
elements, yielding(usize, &mut T)
. - Into
Enumerate - An enumerated owned iterator of
OptionVec<T>
elements, yielding(usize, T)
. - Into
Iter - An owned iterator of
OptionVec<T>
elements. - Iter
- An iterator of borrowed
OptionVec<T>
elements. - IterMut
- An iterator of mutable
OptionVec<T>
elements. - Option
Vec - An abstraction over
Vec<Option<T>>