pub struct MotionEvent {
pub x: i32,
pub y: i32,
pub z: i32,
pub rx: i32,
pub ry: i32,
pub rz: i32,
pub period: u32,
}Fields§
§x: i32§y: i32§z: i32§rx: i32§ry: i32§rz: i32§period: u32Implementations§
Trait Implementations§
Source§impl Clone for MotionEvent
impl Clone for MotionEvent
Source§fn clone(&self) -> MotionEvent
fn clone(&self) -> MotionEvent
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 MotionEvent
impl Debug for MotionEvent
Source§fn from(event: spnav_event_motion) -> Self
fn from(event: spnav_event_motion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MotionEvent
impl RefUnwindSafe for MotionEvent
impl Send for MotionEvent
impl Sync for MotionEvent
impl Unpin for MotionEvent
impl UnwindSafe for MotionEvent
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