pub struct GlidePoint {
pub x: f32,
pub y: f32,
pub time_ms: Option<u32>,
}Fields§
§x: f32§y: f32§time_ms: Option<u32>距笔画开始的毫秒数,宿主量了才有;只有带时间才能找出停留。
Trait Implementations§
Source§impl Clone for GlidePoint
impl Clone for GlidePoint
impl Copy for GlidePoint
Source§impl Debug for GlidePoint
impl Debug for GlidePoint
Source§impl PartialEq for GlidePoint
impl PartialEq for GlidePoint
impl StructuralPartialEq for GlidePoint
Auto Trait Implementations§
impl Freeze for GlidePoint
impl RefUnwindSafe for GlidePoint
impl Send for GlidePoint
impl Sync for GlidePoint
impl Unpin for GlidePoint
impl UnsafeUnpin for GlidePoint
impl UnwindSafe for GlidePoint
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