[−][src]Struct thirtyfour::common::action::ActionSource
Methods
impl<T> ActionSource<T> where
T: Action + Clone,
[src]
T: Action + Clone,
pub fn add_action(&mut self, action: T)
[src]
pub fn pause(&mut self)
[src]
pub fn pause_for(&mut self, duration_ms: u64)
[src]
pub fn id(&self) -> &str
[src]
impl ActionSource<KeyAction>
[src]
pub fn new(name: &str) -> Self
[src]
pub fn key_down(&mut self, value: char)
[src]
pub fn key_up(&mut self, value: char)
[src]
pub fn send_keys(&mut self, text: TypingData)
[src]
impl ActionSource<PointerAction>
[src]
pub fn new(name: &str, action_type: PointerActionType) -> Self
[src]
pub fn move_to(&mut self, x: i32, y: i32)
[src]
pub fn move_by(&mut self, x: i32, y: i32)
[src]
pub fn move_to_element(&mut self, element_id: ElementId, x: i32, y: i32)
[src]
pub fn move_to_element_center(&mut self, element_id: ElementId)
[src]
pub fn click(&mut self)
[src]
pub fn context_click(&mut self)
[src]
pub fn click_and_hold(&mut self)
[src]
pub fn click_element_and_hold(&mut self, element_id: ElementId)
[src]
pub fn release(&mut self)
[src]
pub fn double_click(&mut self)
[src]
pub fn double_click_element(&mut self, element_id: ElementId)
[src]
Trait Implementations
impl<T: Clone + Action> Clone for ActionSource<T>
[src]
fn clone(&self) -> ActionSource<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug + Action + Clone> Debug for ActionSource<T>
[src]
impl<T: Action + Clone> Serialize for ActionSource<T> where
T: Serialize,
[src]
T: Serialize,
Auto Trait Implementations
impl<T> RefUnwindSafe for ActionSource<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ActionSource<T> where
T: Send,
T: Send,
impl<T> Sync for ActionSource<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ActionSource<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ActionSource<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,