Enum input::Touch [] [src]

pub enum Touch {
    Start,
    Move,
    End,
    Cancel,
}

Stores the touch state.

Variants

Start

The start of touch, for example a finger pressed down on a touch screen.

Move

The move of touch, for example a finger moving while touching a touch screen.

End

The end of touch, for example taking a finger away from a touch screen.

Cancel

The cancel of touch, for example the window loses focus.

Trait Implementations

Derived Implementations

impl Debug for Touch

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for Touch

fn eq(&self, __arg_0: &Touch) -> bool

fn ne(&self, __arg_0: &Touch) -> bool

impl Encodable for Touch

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for Touch

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Touch, __D::Error>

impl Clone for Touch

fn clone(&self) -> Touch

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Touch