pub enum ExternalMutation {
Signal {
name: String,
value: String,
},
Array {
name: String,
items: Vec<ArrayItem>,
},
Clear {
name: String,
},
}Expand description
One enqueued mutation applied by drain_external_signals on the next tick. Values are pre-stringified.
Variants§
Signal
Overwrite a scalar signal.
Array
Replace an array signal with new rows.
Fields
Clear
Clear the signal (scalar becomes empty string; array becomes empty vec).
Trait Implementations§
Source§impl Clone for ExternalMutation
impl Clone for ExternalMutation
Source§fn clone(&self) -> ExternalMutation
fn clone(&self) -> ExternalMutation
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 moreAuto Trait Implementations§
impl Freeze for ExternalMutation
impl RefUnwindSafe for ExternalMutation
impl Send for ExternalMutation
impl Sync for ExternalMutation
impl Unpin for ExternalMutation
impl UnsafeUnpin for ExternalMutation
impl UnwindSafe for ExternalMutation
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> 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.