pub struct ScriptCommandEvent(pub ScriptCommand);Expand description
One ScriptCommand flowing through the ECS message bus so app
systems can read it via MessageReader<ScriptCommandEvent>.
Tuple Fields§
§0: ScriptCommandTrait Implementations§
Source§impl Clone for ScriptCommandEvent
impl Clone for ScriptCommandEvent
Source§fn clone(&self) -> ScriptCommandEvent
fn clone(&self) -> ScriptCommandEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScriptCommandEvent
impl Debug for ScriptCommandEvent
impl Message for ScriptCommandEvent
Auto Trait Implementations§
impl Freeze for ScriptCommandEvent
impl !RefUnwindSafe for ScriptCommandEvent
impl Send for ScriptCommandEvent
impl Sync for ScriptCommandEvent
impl Unpin for ScriptCommandEvent
impl UnsafeUnpin for ScriptCommandEvent
impl !UnwindSafe for ScriptCommandEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.