[−][src]Struct conniecs::world::World
Fields
systems: S
data: DataHelper<S::Components, S::Services>
Methods
impl<S> World<S> where
S: SystemManager,
[src]
S: SystemManager,
pub fn new() -> Self where
S::Services: Default,
[src]
S::Services: Default,
pub fn with_services(services: S::Services) -> Self
[src]
ⓘImportant traits for EntityIter<'a, C>pub fn entities(&self) -> EntityIter<S::Components>
[src]
ⓘImportant traits for EntityIter<'a, C>
pub fn modify_entity<F>(&mut self, entity: Entity, modifier: F) where
F: FnOnce(ModifyData<S::Components>, &mut S::Components, &mut S::Services),
[src]
F: FnOnce(ModifyData<S::Components>, &mut S::Components, &mut S::Services),
pub fn modify_entity_with_modifer<M>(&mut self, entity: Entity, modifier: M) where
M: EntityModifier<S::Components, S::Services>,
[src]
M: EntityModifier<S::Components, S::Services>,
pub fn refresh(&mut self)
[src]
pub fn flush_queue(&mut self)
[src]
pub fn update(&mut self)
[src]
pub fn wipe(&mut self)
[src]
Mass delete all entities and their data
Auto Trait Implementations
impl<S> Send for World<S> where
S: Send,
<S as SystemManager>::Components: Send,
<S as SystemManager>::Services: Send,
S: Send,
<S as SystemManager>::Components: Send,
<S as SystemManager>::Services: Send,
impl<S> Sync for World<S> where
S: Sync,
<S as SystemManager>::Components: Sync,
<S as SystemManager>::Services: Sync,
S: Sync,
<S as SystemManager>::Components: Sync,
<S as SystemManager>::Services: Sync,
Blanket Implementations
impl<T> Component for T where
T: 'static,
[src]
T: 'static,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,