Skip to main content

WebViewInputController

Trait WebViewInputController 

Source
pub trait WebViewInputController: WebViewController {
    // Provided methods
    fn click<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _selector: &'life1 str,
        _options: ClickOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn type_text<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        _selector: &'life1 str,
        _text: &'life2 str,
        _options: TypeOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
    fn fill<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        _selector: &'life1 str,
        _text: &'life2 str,
        _options: FillOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
    fn press<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _key: &'life1 str,
        _options: PressOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn scroll<'life0, 'async_trait>(
        &'life0 self,
        _dx: f64,
        _dy: f64,
        _options: ScrollOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn scroll_to<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _selector: &'life1 str,
        _options: ScrollOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Provided Methods§

Source

fn click<'life0, 'life1, 'async_trait>( &'life0 self, _selector: &'life1 str, _options: ClickOptions, ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn type_text<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, _selector: &'life1 str, _text: &'life2 str, _options: TypeOptions, ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn fill<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, _selector: &'life1 str, _text: &'life2 str, _options: FillOptions, ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn press<'life0, 'life1, 'async_trait>( &'life0 self, _key: &'life1 str, _options: PressOptions, ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn scroll<'life0, 'async_trait>( &'life0 self, _dx: f64, _dy: f64, _options: ScrollOptions, ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn scroll_to<'life0, 'life1, 'async_trait>( &'life0 self, _selector: &'life1 str, _options: ScrollOptions, ) -> Pin<Box<dyn Future<Output = Result<(), WebViewInputError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§