Struct tuix_internal::state::storage::dense_vec::DenseVec[][src]

pub struct DenseVec<T> { /* fields omitted */ }

Implementations

Creates a new instance of a DenseVec storage

Inserts an element at position entity.index(). If the index is greater than the length of the data array then the data array will be resized, filling the empty elements between with the default value.

Returns a reference to an element

Returns a mutable reference to an element

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.