pub trait EntityStore {
    fn register_entity(&mut self, entity: impl Into<Entity>);
fn remove_entity(&mut self, entity: impl Into<Entity>); }
Expand description

This trait is used to define a custom store for entities. A entity container is used for entity iteration inside of the system’s run methods.

Required methods

Registers the give ‘entity’.

Removes the given ‘entity’.

Implementors