Enum input::Touch [−][src]
pub enum Touch {
Start,
Move,
End,
Cancel,
}Stores the touch state.
Variants
StartThe start of touch, for example a finger pressed down on a touch screen.
MoveThe move of touch, for example a finger moving while touching a touch screen.
EndThe end of touch, for example taking a finger away from a touch screen.
CancelThe cancel of touch, for example the window loses focus.
Trait Implementations
impl Copy for Touch[src]
impl Copy for Touchimpl Clone for Touch[src]
impl Clone for Touchfn clone(&self) -> Touch[src]
fn clone(&self) -> TouchReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Touch[src]
impl PartialEq for Touchfn eq(&self, other: &Touch) -> bool[src]
fn eq(&self, other: &Touch) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for Touch[src]
impl Debug for Touch