Enum winit::event::TouchPhase
source · pub enum TouchPhase {
Started,
Moved,
Ended,
Cancelled,
}
Expand description
Describes touch-screen input state.
Variants§
Trait Implementations§
source§impl Clone for TouchPhase
impl Clone for TouchPhase
source§fn clone(&self) -> TouchPhase
fn clone(&self) -> TouchPhase
Returns a copy 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 TouchPhase
impl Debug for TouchPhase
source§impl<'de> Deserialize<'de> for TouchPhase
impl<'de> Deserialize<'de> for TouchPhase
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for TouchPhase
impl Hash for TouchPhase
source§impl PartialEq for TouchPhase
impl PartialEq for TouchPhase
source§fn eq(&self, other: &TouchPhase) -> bool
fn eq(&self, other: &TouchPhase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TouchPhase
impl Serialize for TouchPhase
impl Copy for TouchPhase
impl Eq for TouchPhase
impl StructuralEq for TouchPhase
impl StructuralPartialEq for TouchPhase
Auto Trait Implementations§
impl RefUnwindSafe for TouchPhase
impl Send for TouchPhase
impl Sync for TouchPhase
impl Unpin for TouchPhase
impl UnwindSafe for TouchPhase
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