Enum conrod::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 PartialEq<Touch> for Touch[src]
fn eq(&self, __arg_0: &Touch) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for Touch[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl Clone for Touch[src]
fn clone(&self) -> Touch[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Encodable for Touch[src]
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder, [src]
__S: Encoder,
Serialize a value using an Encoder.