pub struct Finger {
pub id: u8,
pub x: i32,
pub y: i32,
pub down_x: i32,
pub down_y: i32,
pub time_ms: u32,
/* private fields */
}Expand description
a finger that is down (ui.touch_fingers): px of the window, logical in a mirrored one
Fields§
§id: u8the host’s number for it, while it is down
x: i32§y: i32§down_x: i32where it came down
down_y: i32§time_ms: u32its last sample (ms, as Ui::now)
Trait Implementations§
impl Copy for Finger
impl Eq for Finger
impl StructuralPartialEq for Finger
Auto Trait Implementations§
impl Forget for Finger
impl Freeze for Finger
impl RefUnwindSafe for Finger
impl Send for Finger
impl Sync for Finger
impl Unpin for Finger
impl UnsafeUnpin for Finger
impl UnwindSafe for Finger
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