Trait dces::entity::EntityContainer[][src]

pub trait EntityContainer {
    fn register_entity(&mut self, entity: Entity);
fn remove_entity(&mut self, entity: Entity); }

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

Required Methods

Registers the give 'entity'.

Removes the given 'entity'.

Implementors