Struct wita::event::MouseWheel
source · [−]pub struct MouseWheel<'a> {
pub window: &'a Window,
pub axis: MouseWheelAxis,
pub distance: i32,
pub mouse_state: MouseState<'a>,
}
Expand description
EventHandler::mouse_wheel
parameters.
Fields
window: &'a Window
axis: MouseWheelAxis
distance: i32
mouse_state: MouseState<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MouseWheel<'a>
impl<'a> Send for MouseWheel<'a>
impl<'a> Sync for MouseWheel<'a>
impl<'a> Unpin for MouseWheel<'a>
impl<'a> UnwindSafe for MouseWheel<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more