Enum macroquad::input::TouchPhase
source · [−]pub enum TouchPhase {
Started,
Stationary,
Moved,
Ended,
Cancelled,
}
Variants
Started
Stationary
Moved
Ended
Cancelled
Trait Implementations
sourceimpl Clone for TouchPhase
impl Clone for TouchPhase
sourcefn clone(&self) -> TouchPhase
fn clone(&self) -> TouchPhase
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TouchPhase
impl Debug for TouchPhase
sourceimpl From<TouchPhase> for TouchPhase
impl From<TouchPhase> for TouchPhase
sourcefn from(miniquad_phase: TouchPhase) -> TouchPhase
fn from(miniquad_phase: TouchPhase) -> TouchPhase
Converts to this type from the input type.
sourceimpl PartialEq<TouchPhase> for TouchPhase
impl PartialEq<TouchPhase> for TouchPhase
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more