[][src]Struct selenium_webdriver::ActionsWheel

pub struct ActionsWheel { /* fields omitted */ }

Struct to create the wheel actions sequence

Implementations

impl ActionsWheel[src]

pub fn new() -> ActionsWheel[src]

pub fn pause(&mut self, duration: u32) -> &mut Self[src]

pub fn scroll(
    &mut self,
    init_x_position: i32,
    init_y_position: i32,
    x_axis_scroll: i32,
    y_axis_scroll: i32
) -> &mut Self
[src]

Scroll by number of pixels (x-axis and y-axis) from a starting position within the viewport. The value of pixels to scroll may be both positive and negative.

Examples

let mut wheel = ActionsWheel::new();
wheel.scroll(0, 0, 100, 100).scroll(100, 100, 100, 100);

Trait Implementations

impl Debug for ActionsWheel[src]

impl<'de> Deserialize<'de> for ActionsWheel[src]

impl Serialize for ActionsWheel[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.