pub struct WheelData { /* private fields */ }
Expand description
Data of a Wheel event.
Implementations§
§impl WheelData
impl WheelData
pub fn get_delta_x(&self) -> f64
pub fn get_delta_x(&self) -> f64
Get the X delta.
pub fn get_delta_y(&self) -> f64
pub fn get_delta_y(&self) -> f64
Get the Y delta.
Trait Implementations§
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