pub struct Wheel {
pub x: f64,
pub y: f64,
pub delta_x: f64,
pub delta_y: f64,
pub modifiers: Vec<ModifierKey>,
}
Expand description
User scrolls the mouse wheel over an element.
Fields§
§x: f64
§y: f64
§delta_x: f64
§delta_y: f64
§modifiers: Vec<ModifierKey>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wheel
impl RefUnwindSafe for Wheel
impl Send for Wheel
impl Sync for Wheel
impl Unpin for Wheel
impl UnwindSafe for Wheel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.