pub struct WindowTouchpadRotateEvent {
pub window_id: WindowId,
pub device_id: DeviceId,
pub angle_radians: f64,
pub phase: TouchPhase,
}Expand description
A window received touchpad rotate input.
Fields§
§window_id: WindowIdThe ID of the window.
device_id: DeviceIdThe device that generated the input.
angle_radians: f64The rotation angle in radians.
A positive rotation is counter clockwise.
phase: TouchPhaseThe touch phase for the event.
Trait Implementations§
Source§impl Clone for WindowTouchpadRotateEvent
impl Clone for WindowTouchpadRotateEvent
Source§fn clone(&self) -> WindowTouchpadRotateEvent
fn clone(&self) -> WindowTouchpadRotateEvent
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 WindowTouchpadRotateEvent
impl Debug for WindowTouchpadRotateEvent
Source§impl From<WindowTouchpadRotateEvent> for WindowEvent
impl From<WindowTouchpadRotateEvent> for WindowEvent
Source§fn from(other: WindowTouchpadRotateEvent) -> Self
fn from(other: WindowTouchpadRotateEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowTouchpadRotateEvent
impl RefUnwindSafe for WindowTouchpadRotateEvent
impl Send for WindowTouchpadRotateEvent
impl Sync for WindowTouchpadRotateEvent
impl Unpin for WindowTouchpadRotateEvent
impl UnwindSafe for WindowTouchpadRotateEvent
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