pub struct UniverseCommands { /* private fields */ }
Implementations§
Source§impl 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)
pub fn execute(&mut self) -> UniverseCommandsExecutor
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UniverseCommands
impl !RefUnwindSafe for UniverseCommands
impl Send for UniverseCommands
impl Sync for UniverseCommands
impl Unpin for UniverseCommands
impl !UnwindSafe for UniverseCommands
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