pub struct TouchActionResolution {
pub action: Option<TouchAction>,
pub first_touch: bool,
pub contested: bool,
}Expand description
The resolved touch intention with supporting context.
Fields§
§action: Option<TouchAction>The recognized action, or None when the touch has no notable action
(it is described by its other tags — kind, possession, etc. — instead).
first_touch: bool§contested: boolTrait Implementations§
Source§impl Clone for TouchActionResolution
impl Clone for TouchActionResolution
impl Copy for TouchActionResolution
Source§impl Debug for TouchActionResolution
impl Debug for TouchActionResolution
impl Eq for TouchActionResolution
Source§impl PartialEq for TouchActionResolution
impl PartialEq for TouchActionResolution
impl StructuralPartialEq for TouchActionResolution
Auto Trait Implementations§
impl Freeze for TouchActionResolution
impl RefUnwindSafe for TouchActionResolution
impl Send for TouchActionResolution
impl Sync for TouchActionResolution
impl Unpin for TouchActionResolution
impl UnsafeUnpin for TouchActionResolution
impl UnwindSafe for TouchActionResolution
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