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]

[src]

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

[src]

Clear the contents of this storage.

[src]

Remove an element by a given index.

Trait Implementations

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

[src]

Returns the "default value" for a type. Read more

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

[src]

Executes the destructor for this type. Read more