[][src]Struct thirtyfour::common::action::ActionSource

pub struct ActionSource<T: Action + Clone> { /* fields omitted */ }

Methods

impl<T> ActionSource<T> where
    T: Action + Clone
[src]

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]

impl<T: Debug + Action + Clone> Debug for ActionSource<T>[src]

impl<T: Action + Clone> Serialize for ActionSource<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ActionSource<T> where
    T: RefUnwindSafe

impl<T> Send for ActionSource<T> where
    T: Send

impl<T> Sync for ActionSource<T> where
    T: Sync

impl<T> Unpin for ActionSource<T> where
    T: Unpin

impl<T> UnwindSafe for ActionSource<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,