Enum script_traits::TouchEventType
source · pub enum TouchEventType {
Down,
Move,
Up,
Cancel,
}
Expand description
The type of input represented by a multi-touch event.
Variants§
Down
A new touch point came in contact with the screen.
Move
An existing touch point changed location.
Up
A touch point was removed from the screen.
Cancel
The system stopped tracking a touch point.
Trait Implementations§
source§impl Clone for TouchEventType
impl Clone for TouchEventType
source§fn clone(&self) -> TouchEventType
fn clone(&self) -> TouchEventType
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 TouchEventType
impl Debug for TouchEventType
source§impl<'de> Deserialize<'de> for TouchEventType
impl<'de> Deserialize<'de> for TouchEventType
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 Serialize for TouchEventType
impl Serialize for TouchEventType
impl Copy for TouchEventType
Auto Trait Implementations§
impl RefUnwindSafe for TouchEventType
impl Send for TouchEventType
impl Sync for TouchEventType
impl Unpin for TouchEventType
impl UnwindSafe for TouchEventType
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert