Struct specs::MaskedStorage [] [src]

pub struct MaskedStorage<T: Component> { /* fields omitted */ }

The UnprotectedStorage together with the BitSet that knows about which elements are stored, and which are not.

Methods

impl<T: Component> MaskedStorage<T>
[src]

Creates a new MaskedStorage. This is called when you register a new component type within the world.

Clear the contents of this storage.

Remove an element by a given index.

Trait Implementations

impl<T: Component> Drop for MaskedStorage<T>
[src]

A method called when the value goes out of scope. Read more