Enum oxid::core::TouchPhase
source · [−]pub enum TouchPhase {
Started,
Moved,
Ended,
Cancelled,
}
Variants
Started
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<u32> for TouchPhase
impl From<u32> for TouchPhase
sourcefn from(event: u32) -> TouchPhase
fn from(event: u32) -> TouchPhase
Converts to this type from the input type.
sourceimpl Hash for TouchPhase
impl Hash for TouchPhase
sourceimpl PartialEq<TouchPhase> for TouchPhase
impl PartialEq<TouchPhase> for TouchPhase
sourcefn 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 ==
. Read more
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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