pub enum RecordedAction {
Tap {
x: i32,
y: i32,
},
Swipe {
start_x: i32,
start_y: i32,
end_x: i32,
end_y: i32,
duration_ms: u32,
},
InputText {
text: String,
clear: bool,
},
KeyPress {
keycode: i32,
},
StartApp {
package: String,
activity: Option<String>,
},
Drag {
start_x: i32,
start_y: i32,
end_x: i32,
end_y: i32,
duration_ms: u32,
},
}Expand description
A recorded action entry.
Variants§
Trait Implementations§
Source§impl Clone for RecordedAction
impl Clone for RecordedAction
Source§fn clone(&self) -> RecordedAction
fn clone(&self) -> RecordedAction
Returns a duplicate of the value. Read more
1.0.0 · 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 RecordedAction
impl Debug for RecordedAction
Source§impl<'de> Deserialize<'de> for RecordedAction
impl<'de> Deserialize<'de> for RecordedAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecordedAction
impl RefUnwindSafe for RecordedAction
impl Send for RecordedAction
impl Sync for RecordedAction
impl Unpin for RecordedAction
impl UnsafeUnpin for RecordedAction
impl UnwindSafe for RecordedAction
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