[]Struct yew_stdweb::events::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

pub fn delta_x(&self) -> f64

The change in X of the wheel

(Javascript docs)

pub fn delta_y(&self) -> f64

The change in Y of the wheel

(Javascript docs)

pub fn delta_z(&self) -> f64

The change in Z of the wheel

(Javascript docs)

pub fn delta_mode(&self) -> MouseWheelDeltaMode

The unit of measure of change

(JavaScript docs)

Trait Implementations

impl AsRef<Reference> for MouseWheelEvent

impl Clone for MouseWheelEvent

impl ConcreteEvent for MouseWheelEvent

impl Debug for MouseWheelEvent

impl Eq for MouseWheelEvent

impl IEvent for MouseWheelEvent

impl IMouseEvent for MouseWheelEvent

impl IUiEvent for MouseWheelEvent

impl InstanceOf for MouseWheelEvent

impl JsSerialize for MouseWheelEvent

impl PartialEq<MouseWheelEvent> for MouseWheelEvent

impl ReferenceType for MouseWheelEvent

impl StructuralEq for MouseWheelEvent

impl StructuralPartialEq for MouseWheelEvent

impl<'_r> TryFrom<&'_r Reference> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Event> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<MouseEvent> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Reference> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<UiEvent> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for MouseWheelEvent

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.