#[repr(C)]pub struct sh2_RawAccelerometer {
pub x: i16,
pub y: i16,
pub z: i16,
pub timestamp: u32,
}Expand description
@brief Raw Accelerometer
See the SH-2 Reference Manual for more detail.
Fields§
§x: i16< @brief [ADC counts]
y: i16< @brief [ADC counts]
z: i16< @brief [ADC counts]
timestamp: u32< @brief [uS]
Trait Implementations§
Source§impl Clone for sh2_RawAccelerometer
impl Clone for sh2_RawAccelerometer
Source§fn clone(&self) -> sh2_RawAccelerometer
fn clone(&self) -> sh2_RawAccelerometer
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 sh2_RawAccelerometer
impl Debug for sh2_RawAccelerometer
impl Copy for sh2_RawAccelerometer
Auto Trait Implementations§
impl Freeze for sh2_RawAccelerometer
impl RefUnwindSafe for sh2_RawAccelerometer
impl Send for sh2_RawAccelerometer
impl Sync for sh2_RawAccelerometer
impl Unpin for sh2_RawAccelerometer
impl UnwindSafe for sh2_RawAccelerometer
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