Struct TouchContact
pub struct TouchContact {
pub id: u64,
pub pos: [f32; 2],
pub delta: [f32; 2],
pub is_active: bool,
}Expand description
Touch contact point record for multi-touch finger gesture tracking.
Fields§
§id: u64§pos: [f32; 2]§delta: [f32; 2]§is_active: boolTrait Implementations§
§impl Clone for TouchContact
impl Clone for TouchContact
§fn clone(&self) -> TouchContact
fn clone(&self) -> TouchContact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TouchContact
§impl Debug for TouchContact
impl Debug for TouchContact
§impl Default for TouchContact
impl Default for TouchContact
§fn default() -> TouchContact
fn default() -> TouchContact
Returns the “default value” for a type. Read more
§impl PartialEq for TouchContact
impl PartialEq for TouchContact
impl StructuralPartialEq for TouchContact
Auto Trait Implementations§
impl Freeze for TouchContact
impl RefUnwindSafe for TouchContact
impl Send for TouchContact
impl Sync for TouchContact
impl Unpin for TouchContact
impl UnsafeUnpin for TouchContact
impl UnwindSafe for TouchContact
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