pub struct WheelEvent {
pub x: Length,
pub y: Length,
pub delta_x: Length,
pub delta_y: Length,
pub lines_x: f64,
pub lines_y: f64,
pub is_line: bool,
pub modifiers: KeyModifiers,
}Expand description
A wheel movement in logical pixels, with position relative to its handler.
Fields§
§x: Length§y: Length§delta_x: Length§delta_y: Length§lines_x: f64§lines_y: f64§is_line: bool§modifiers: KeyModifiersTrait Implementations§
Source§impl Clone for WheelEvent
impl Clone for WheelEvent
impl Copy for WheelEvent
Source§impl Debug for WheelEvent
impl Debug for WheelEvent
Source§impl Default for WheelEvent
impl Default for WheelEvent
Source§impl PartialEq for WheelEvent
impl PartialEq for WheelEvent
impl StructuralPartialEq for WheelEvent
Auto Trait Implementations§
impl Forget for WheelEvent
impl Freeze for WheelEvent
impl Move for WheelEvent
impl RefUnwindSafe for WheelEvent
impl Send for WheelEvent
impl Sync for WheelEvent
impl Unpin for WheelEvent
impl UnsafeUnpin for WheelEvent
impl UnwindSafe for WheelEvent
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