pub struct Wheel {
pub source: ScrollSource,
pub x: WheelAxis,
pub y: WheelAxis,
}Expand description
One scroll event on both axes, as Button::on_wheel
gets it and the platform hands it to Window::pointer_scroll.
Fields§
§source: ScrollSourceWhat scrolled.
x: WheelAxisSideways.
y: WheelAxisUp and down.
Trait Implementations§
impl Copy for Wheel
impl StructuralPartialEq for Wheel
Auto Trait Implementations§
impl Forget for Wheel
impl Freeze for Wheel
impl Move for Wheel
impl RefUnwindSafe for Wheel
impl Send for Wheel
impl Sync for Wheel
impl Unpin for Wheel
impl UnsafeUnpin 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