pub struct MotionArgs {
pub time: u32,
pub surface_x: Fixed,
pub surface_y: Fixed,
}
Fields§
§time: u32
timestamp with millisecond granularity
surface_x: Fixed
surface-local x coordinate
surface_y: Fixed
surface-local y coordinate
Trait Implementations§
Source§impl Clone for MotionArgs
impl Clone for MotionArgs
Source§fn clone(&self) -> MotionArgs
fn clone(&self) -> MotionArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MotionArgs
impl Debug for MotionArgs
impl Copy for MotionArgs
Auto Trait Implementations§
impl Freeze for MotionArgs
impl RefUnwindSafe for MotionArgs
impl Send for MotionArgs
impl Sync for MotionArgs
impl Unpin for MotionArgs
impl UnwindSafe for MotionArgs
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