pub struct WindowAxisMotionEvent {
pub window_id: WindowId,
pub device_id: DeviceId,
pub axis: AxisId,
pub value: f64,
}Expand description
A window received axis motion input.
Fields§
§window_id: WindowIdThe ID of the window.
device_id: DeviceIdThe device that generated the input.
axis: AxisIdThe axis that as moved.
value: f64The value by which the axis moved.
Trait Implementations§
Source§impl Clone for WindowAxisMotionEvent
impl Clone for WindowAxisMotionEvent
Source§fn clone(&self) -> WindowAxisMotionEvent
fn clone(&self) -> WindowAxisMotionEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowAxisMotionEvent
impl Debug for WindowAxisMotionEvent
Source§impl From<WindowAxisMotionEvent> for WindowEvent
impl From<WindowAxisMotionEvent> for WindowEvent
Source§fn from(other: WindowAxisMotionEvent) -> Self
fn from(other: WindowAxisMotionEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowAxisMotionEvent
impl RefUnwindSafe for WindowAxisMotionEvent
impl Send for WindowAxisMotionEvent
impl Sync for WindowAxisMotionEvent
impl Unpin for WindowAxisMotionEvent
impl UnwindSafe for WindowAxisMotionEvent
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