Enum freya::events::touch::TouchPhase   
pub enum TouchPhase {
    Started,
    Moved,
    Ended,
    Cancelled,
}Expand description
Describes touch-screen input state.
Variants§
Trait Implementations§
§impl Clone for TouchPhase
 
impl Clone for TouchPhase
§fn clone(&self) -> TouchPhase
 
fn clone(&self) -> TouchPhase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read more§impl Debug for TouchPhase
 
impl Debug for TouchPhase
§impl Hash for TouchPhase
 
impl Hash for TouchPhase
§impl PartialEq<TouchPhase> for TouchPhase
 
impl PartialEq<TouchPhase> for TouchPhase
§fn eq(&self, other: &TouchPhase) -> bool
 
fn eq(&self, other: &TouchPhase) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for TouchPhase
impl Eq for TouchPhase
impl StructuralEq for TouchPhase
impl StructuralPartialEq for TouchPhase
Auto Trait Implementations§
impl RefUnwindSafe for TouchPhase
impl Send for TouchPhase
impl Sync for TouchPhase
impl Unpin for TouchPhase
impl UnwindSafe for TouchPhase
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.