[][src]Struct script_traits::WheelDelta

pub struct WheelDelta {
    pub x: f64,
    pub y: f64,
    pub z: f64,
    pub mode: WheelMode,

The Wheel event deltas in every direction


x: f64

Delta in the left/right direction

y: f64

Delta in the up/down direction

z: f64

Delta in the direction going into/out of the screen

mode: WheelMode

Mode to measure the floats in

Trait Implementations

impl Clone for WheelDelta[src]

impl Copy for WheelDelta[src]

impl Debug for WheelDelta[src]

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

impl PartialEq<WheelDelta> for WheelDelta[src]

impl Serialize for WheelDelta[src]

impl StructuralPartialEq for WheelDelta[src]

Auto Trait Implementations

impl RefUnwindSafe for WheelDelta

impl Send for WheelDelta

impl Sync for WheelDelta

impl Unpin for WheelDelta

impl UnwindSafe for WheelDelta

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> Erased for T[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> MaybeBoxed<Box<T>> for T[src]

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

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

type Output = T

Should always be Self

impl<T> SetParameter for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

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.

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