pub struct Contact {
pub contact_id: ContactId,
pub phase: Phase,
}
Expand description
A single contact found in a touch event.
Fields§
§contact_id: ContactId
ID of this contact
phase: Phase
Phase of this contact
Trait Implementations§
source§impl PartialEq for Contact
impl PartialEq for Contact
impl StructuralPartialEq for Contact
Auto Trait Implementations§
impl Freeze for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnwindSafe for Contact
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