pub enum TouchState {
Released,
Pressed,
Held,
}
Expand description
The state of a given touch.
Variants§
Released
The touch has been released.
Pressed
The display has been touched.
Held
The display has been touched and is still being held.
Trait Implementations§
Source§impl Clone for TouchState
impl Clone for TouchState
Source§fn clone(&self) -> TouchState
fn clone(&self) -> TouchState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TouchState
impl Debug for TouchState
Source§impl From<V5_TouchEvent> for TouchState
impl From<V5_TouchEvent> for TouchState
Source§fn from(value: V5_TouchEvent) -> Self
fn from(value: V5_TouchEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TouchState
impl PartialEq for TouchState
impl Copy for TouchState
impl Eq for TouchState
impl StructuralPartialEq for TouchState
Auto Trait Implementations§
impl Freeze for TouchState
impl RefUnwindSafe for TouchState
impl Send for TouchState
impl Sync for TouchState
impl Unpin for TouchState
impl UnwindSafe for TouchState
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