pub struct RawSample {
pub accel: [i16; 3],
pub gyro: [i16; 3],
}Expand description
Raw two’s-complement readings, X/Y/Z.
Fields§
§accel: [i16; 3]Accelerometer.
gyro: [i16; 3]Gyroscope.
Trait Implementations§
impl Copy for RawSample
impl Eq for RawSample
impl StructuralPartialEq for RawSample
Auto Trait Implementations§
impl Freeze for RawSample
impl RefUnwindSafe for RawSample
impl Send for RawSample
impl Sync for RawSample
impl Unpin for RawSample
impl UnsafeUnpin for RawSample
impl UnwindSafe for RawSample
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)