Struct conniecs::system::entity::EntitySystem
[−]
[src]
pub struct EntitySystem<T> where
T: EntityProcess, { pub inner: T, pub watcher: Watcher<T::Components>, }
Fields
inner: T
watcher: Watcher<T::Components>
Methods
impl<T> EntitySystem<T> where
T: EntityProcess,
[src]
T: EntityProcess,
fn new() -> EntitySystem<T>
[src]
Trait Implementations
impl<T: Debug> Debug for EntitySystem<T> where
T: EntityProcess,
T::Components: Debug,
[src]
T: EntityProcess,
T::Components: Debug,
impl<T> Deref for EntitySystem<T> where
T: EntityProcess,
[src]
T: EntityProcess,
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.
impl<T> DerefMut for EntitySystem<T> where
T: EntityProcess,
[src]
T: EntityProcess,
impl<T> System for EntitySystem<T> where
T: EntityProcess,
[src]
T: EntityProcess,
type Components = T::Components
type Services = T::Services
fn build_system() -> Self
[src]
fn activated(
&mut self,
entity: EntityData<T::Components>,
components: &T::Components,
services: &mut T::Services
)
[src]
&mut self,
entity: EntityData<T::Components>,
components: &T::Components,
services: &mut T::Services
)
fn reactivated(
&mut self,
entity: EntityData<T::Components>,
components: &T::Components,
services: &mut T::Services
)
[src]
&mut self,
entity: EntityData<T::Components>,
components: &T::Components,
services: &mut T::Services
)
fn deactivated(
&mut self,
entity: EntityData<T::Components>,
components: &T::Components,
services: &mut T::Services
)
[src]
&mut self,
entity: EntityData<T::Components>,
components: &T::Components,
services: &mut T::Services
)
impl<T> Process for EntitySystem<T> where
T: EntityProcess,
[src]
T: EntityProcess,