Enum input::Touch [] [src]

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

Stores the touch state.

Variants

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

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

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

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

Trait Implementations

impl Copy for Touch
[src]

impl Clone for Touch
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Decodable for Touch
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for Touch
[src]

[src]

Serialize a value using an Encoder.

impl PartialEq for Touch
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for Touch
[src]

[src]

Formats the value using the given formatter.