#[repr(C)]pub struct rc_mpu_data_t {Show 17 fields
pub accel: [f64; 3],
pub gyro: [f64; 3],
pub mag: [f64; 3],
pub temp: f64,
pub raw_gyro: [i16; 3],
pub raw_accel: [i16; 3],
pub accel_to_ms2: f64,
pub gyro_to_degs: f64,
pub dmp_quat: [f64; 4],
pub dmp_TaitBryan: [f64; 3],
pub tap_detected: c_int,
pub last_tap_direction: c_int,
pub last_tap_count: c_int,
pub fused_quat: [f64; 4],
pub fused_TaitBryan: [f64; 3],
pub compass_heading: f64,
pub compass_heading_raw: f64,
}
Fields§
§accel: [f64; 3]
§gyro: [f64; 3]
§mag: [f64; 3]
§temp: f64
§raw_gyro: [i16; 3]
§raw_accel: [i16; 3]
§accel_to_ms2: f64
§gyro_to_degs: f64
§dmp_quat: [f64; 4]
§dmp_TaitBryan: [f64; 3]
§tap_detected: c_int
§last_tap_direction: c_int
§last_tap_count: c_int
§fused_quat: [f64; 4]
§fused_TaitBryan: [f64; 3]
§compass_heading: f64
§compass_heading_raw: f64
Trait Implementations§
Source§impl Clone for rc_mpu_data_t
impl Clone for rc_mpu_data_t
Source§fn clone(&self) -> rc_mpu_data_t
fn clone(&self) -> rc_mpu_data_t
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for rc_mpu_data_t
impl Debug for rc_mpu_data_t
Source§impl Default for rc_mpu_data_t
impl Default for rc_mpu_data_t
Source§fn default() -> rc_mpu_data_t
fn default() -> rc_mpu_data_t
Returns the “default value” for a type. Read more
impl Copy for rc_mpu_data_t
Auto Trait Implementations§
impl Freeze for rc_mpu_data_t
impl RefUnwindSafe for rc_mpu_data_t
impl Send for rc_mpu_data_t
impl Sync for rc_mpu_data_t
impl Unpin for rc_mpu_data_t
impl UnwindSafe for rc_mpu_data_t
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