pub struct MotionArgs {
pub time: u32,
pub surface_x: Fixed,
pub surface_y: Fixed,
}Fields§
§time: u32timestamp with millisecond granularity
surface_x: Fixedsurface-local x coordinate
surface_y: Fixedsurface-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 (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 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 UnsafeUnpin 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