pub struct WorldManager { /* private fields */ }Expand description
The ECS World manager.
This type defines how to build the ECS World for our
framework to use.
Implementations§
Source§impl WorldManager
impl WorldManager
Sourcepub fn add_system<S: System>(&mut self, system: S)
pub fn add_system<S: System>(&mut self, system: S)
Register a System to the world.
Trait Implementations§
Source§impl Debug for WorldManager
impl Debug for WorldManager
Auto Trait Implementations§
impl !Freeze for WorldManager
impl !RefUnwindSafe for WorldManager
impl !Send for WorldManager
impl !Sync for WorldManager
impl Unpin for WorldManager
impl !UnwindSafe for WorldManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more