pub struct WindowTouchEvent {
pub window_id: WindowId,
pub touch: Touch,
}Expand description
A window received touch input.
Fields§
§window_id: WindowIdThe ID of the window.
touch: TouchThe touch input.
Trait Implementations§
Source§impl Clone for WindowTouchEvent
impl Clone for WindowTouchEvent
Source§fn clone(&self) -> WindowTouchEvent
fn clone(&self) -> WindowTouchEvent
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 WindowTouchEvent
impl Debug for WindowTouchEvent
Source§impl From<WindowTouchEvent> for WindowEvent
impl From<WindowTouchEvent> for WindowEvent
Source§fn from(other: WindowTouchEvent) -> Self
fn from(other: WindowTouchEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowTouchEvent
impl RefUnwindSafe for WindowTouchEvent
impl Send for WindowTouchEvent
impl Sync for WindowTouchEvent
impl Unpin for WindowTouchEvent
impl UnwindSafe for WindowTouchEvent
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