Trait constellation::EntityResource [] [src]

pub trait EntityResource: Resource {
    type Api;
    fn deconstruct(&self) -> (&BitSet, &Self::Api);
    fn deconstruct_mut(&mut self) -> (&BitSet, &mut Self::Api);
}

An entity resource is a resource which stores data about entities.

Associated Types

The type of API used to access the resource while its filter is write-locked behind a borrow.

Required Methods

Splits the entity resource into a bitset used for entity iteration, and its restricted API.

Splits the entity resource into a bitset used for entity iteration, and its restricted API.

Implementors