Struct null_vec::NullVec [] [src]

pub struct NullVec<T: Nullable> { /* fields omitted */ }

A vector of a nullable type. Conceptually the vector is an infinite list of values, some of which are non-null. This allows constant-time removal of elements by index.

Methods

impl<T: Nullable> NullVec<T>
[src]

[src]

[src]

[src]

Inserts a value into the vector, returning the old value.

[src]

Removes a value from the vector, returning its value.

[src]

Returns a value in the vector.

[src]

Starting from start, returns the index of the first null value, or capacity() if no value was found.