pub struct MousePoint {
pub t_ms: f32,
pub x: f32,
pub y: f32,
}Expand description
One sample point on a humanized mouse trajectory.
Fields§
§t_ms: f32§x: f32§y: f32Trait Implementations§
Source§impl Clone for MousePoint
impl Clone for MousePoint
Source§fn clone(&self) -> MousePoint
fn clone(&self) -> MousePoint
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 MousePoint
Source§impl Debug for MousePoint
impl Debug for MousePoint
Source§impl<'de> Deserialize<'de> for MousePoint
impl<'de> Deserialize<'de> for MousePoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MousePoint
impl PartialEq for MousePoint
Source§fn eq(&self, other: &MousePoint) -> bool
fn eq(&self, other: &MousePoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MousePoint
impl Serialize for MousePoint
impl StructuralPartialEq for MousePoint
Auto Trait Implementations§
impl Freeze for MousePoint
impl RefUnwindSafe for MousePoint
impl Send for MousePoint
impl Sync for MousePoint
impl Unpin for MousePoint
impl UnsafeUnpin for MousePoint
impl UnwindSafe for MousePoint
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