Struct freya_elements::events::wheel::WheelData
source · pub struct WheelData { /* private fields */ }
Expand description
Data of a Wheel event.
Implementations§
source§impl WheelData
impl WheelData
sourcepub fn get_delta_x(&self) -> f64
pub fn get_delta_x(&self) -> f64
Get the X delta.
sourcepub fn get_delta_y(&self) -> f64
pub fn get_delta_y(&self) -> f64
Get the Y delta.
Trait Implementations§
source§impl PartialEq<WheelData> for WheelData
impl PartialEq<WheelData> for WheelData
impl StructuralPartialEq for WheelData
Auto Trait Implementations§
impl RefUnwindSafe for WheelData
impl Send for WheelData
impl Sync for WheelData
impl Unpin for WheelData
impl UnwindSafe for WheelData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more