Enum macroquad::input::TouchPhase
source · pub enum TouchPhase {
Started,
Stationary,
Moved,
Ended,
Cancelled,
}
Variants§
Trait Implementations§
source§impl Clone for TouchPhase
impl Clone for TouchPhase
source§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 moresource§impl Debug for TouchPhase
impl Debug for TouchPhase
source§impl From<TouchPhase> for TouchPhase
impl From<TouchPhase> for TouchPhase
source§fn from(miniquad_phase: TouchPhase) -> TouchPhase
fn from(miniquad_phase: TouchPhase) -> TouchPhase
Converts to this type from the input type.
source§impl PartialEq for TouchPhase
impl PartialEq for TouchPhase
source§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 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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more