Struct show_image::event::DeviceMouseWheelEvent
source · [−]pub struct DeviceMouseWheelEvent {
pub device_id: DeviceId,
pub delta: MouseScrollDelta,
}
Expand description
The scroll-wheel of a mouse was moved.
Fields
device_id: DeviceId
The ID of the device.
delta: MouseScrollDelta
The scroll delta.
Trait Implementations
sourceimpl Clone for DeviceMouseWheelEvent
impl Clone for DeviceMouseWheelEvent
sourcefn clone(&self) -> DeviceMouseWheelEvent
fn clone(&self) -> DeviceMouseWheelEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceMouseWheelEvent
impl Debug for DeviceMouseWheelEvent
sourceimpl From<DeviceMouseWheelEvent> for DeviceEvent
impl From<DeviceMouseWheelEvent> for DeviceEvent
sourcefn from(other: DeviceMouseWheelEvent) -> Self
fn from(other: DeviceMouseWheelEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DeviceMouseWheelEvent
impl Send for DeviceMouseWheelEvent
impl Sync for DeviceMouseWheelEvent
impl Unpin for DeviceMouseWheelEvent
impl UnwindSafe for DeviceMouseWheelEvent
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