pub struct Commands<'a>(/* private fields */);
Expand description
A SystemParam
that can be used to schedule systems that will be run at the end of the
current SystemStage
.
This is a shortcut for ResMut<CommandQueue>
.
Trait Implementations§
source§impl<'a> SystemParam for Commands<'a>
impl<'a> SystemParam for Commands<'a>
§type State = AtomicResource<CommandQueue>
type State = AtomicResource<CommandQueue>
The intermediate state for the parameter, that may be extracted from the world.
§type Param<'s> = Commands<'s>
type Param<'s> = Commands<'s>
The type of the parameter, ranging over the lifetime of the intermediate state. Read more
Auto Trait Implementations§
impl<'a> Freeze for Commands<'a>
impl<'a> !RefUnwindSafe for Commands<'a>
impl<'a> Send for Commands<'a>
impl<'a> Sync for Commands<'a>
impl<'a> Unpin for Commands<'a>
impl<'a> !UnwindSafe for Commands<'a>
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