[][src]Struct stdweb::web::event::MouseWheelEvent

pub struct MouseWheelEvent(_);

The MouseWheelEvent is fired when a pointing device's wheel button (usually a mousewheel) is rotated over the element that has the listener attached.

(JavaScript docs)

Methods

impl MouseWheelEvent[src]

pub fn delta_x(&self) -> f64[src]

The change in X of the wheel

(Javascript docs)

pub fn delta_y(&self) -> f64[src]

The change in Y of the wheel

(Javascript docs)

pub fn delta_z(&self) -> f64[src]

The change in Z of the wheel

(Javascript docs)

pub fn delta_mode(&self) -> MouseWheelDeltaMode[src]

The unit of measure of change

(JavaScript docs)

Trait Implementations

impl JsSerialize for MouseWheelEvent[src]

impl TryFrom<MouseWheelEvent> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for MouseWheelEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Reference> for MouseWheelEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for MouseWheelEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for MouseWheelEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for MouseWheelEvent[src]

impl ReferenceType for MouseWheelEvent[src]

impl IEvent for MouseWheelEvent[src]

impl ConcreteEvent for MouseWheelEvent[src]

impl IUiEvent for MouseWheelEvent[src]

impl IMouseEvent for MouseWheelEvent[src]

impl AsRef<Reference> for MouseWheelEvent[src]

impl From<MouseWheelEvent> for Reference[src]

impl Clone for MouseWheelEvent[src]

impl Eq for MouseWheelEvent[src]

impl PartialEq<MouseWheelEvent> for MouseWheelEvent[src]

impl Debug for MouseWheelEvent[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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