Struct oxygengine_core::ecs::commands::UniverseCommands
source · [−]pub struct UniverseCommands { /* private fields */ }
Implementations
sourceimpl UniverseCommands
impl UniverseCommands
pub fn schedule<T>(&mut self, command: T)where
T: UniverseCommand + 'static,
pub fn schedule_raw(&mut self, command: Box<dyn UniverseCommand>)
pub fn schedule_fn<F>(&mut self, f: F)where
F: FnMut(&mut Universe) + Send + Sync + 'static,
pub fn execute(&mut self, universe: &mut Universe)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UniverseCommands
impl Send for UniverseCommands
impl Sync for UniverseCommands
impl Unpin for UniverseCommands
impl !UnwindSafe for UniverseCommands
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more