pub enum Step {
Press {
count: u8,
},
Focus,
SetValue {
value: String,
},
SelectText {
start: i64,
end: i64,
},
Perform {
name: String,
},
ScrollTo,
TypeSetValue {
text: String,
},
TypeEnigo {
text: String,
},
CenterClick {
x: i32,
y: i32,
button: MouseButton,
count: u8,
},
}Expand description
One step the backend performs after gate allows it.
Variants§
Press
Repeat AXPress.
Focus
Set AXFocused to true.
SetValue
Set AXValue.
SelectText
Set AXSelectedTextRange.
Perform
Perform an allowlisted action.
ScrollTo
Perform AXScrollToVisible.
TypeSetValue
Set AXValue because the attribute is settable.
TypeEnigo
Focus the element, then post the text to its process. Does not activate the app.
CenterClick
Click the element center through the input tiers.
Implementations§
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.