pub struct PointerInfo {
pub id: PointerId,
pub pointer_type: PointerType,
pub start_position: Point,
pub current_position: Point,
pub start_time: Instant,
pub is_primary: bool,
pub pressure: f32,
}Expand description
Information about an active pointer.
Fields§
§id: PointerIdPointer ID.
pointer_type: PointerTypePointer type.
start_position: PointStarting position.
current_position: PointCurrent position.
start_time: InstantStart time.
is_primary: boolIs primary pointer.
pressure: f32Pressure (0.0-1.0).
Trait Implementations§
Source§impl Clone for PointerInfo
impl Clone for PointerInfo
Auto Trait Implementations§
impl Freeze for PointerInfo
impl RefUnwindSafe for PointerInfo
impl Send for PointerInfo
impl Sync for PointerInfo
impl Unpin for PointerInfo
impl UnsafeUnpin for PointerInfo
impl UnwindSafe for PointerInfo
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