pub enum MacroStep {
Command(InjectionCommand),
Wait(Duration),
}Expand description
One step in a parsed macro: either a command to dispatch, or a delay to apply before the following step.
Variants§
Command(InjectionCommand)
A semantic injection command (text/key/combo/scroll).
Wait(Duration)
A delay before the next step (from a wait <ms> directive).
Trait Implementations§
impl Eq for MacroStep
impl StructuralPartialEq for MacroStep
Auto Trait Implementations§
impl Freeze for MacroStep
impl RefUnwindSafe for MacroStep
impl Send for MacroStep
impl Sync for MacroStep
impl Unpin for MacroStep
impl UnsafeUnpin for MacroStep
impl UnwindSafe for MacroStep
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.