[][src]Enum piston_window::Touch

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 Serialize for Touch
[src]

impl<'de> Deserialize<'de> for Touch
[src]

impl Copy for Touch
[src]

impl Clone for Touch
[src]

Performs copy-assignment from source. Read more

impl Debug for Touch
[src]

impl PartialEq<Touch> for Touch
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Touch

impl Sync for Touch

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Erased for T
[src]