Struct mpu9250::ImuMeasurements
source · pub struct ImuMeasurements<T> {
pub accel: T,
pub gyro: T,
pub temp: f32,
}
Expand description
Scaled IMU measurements converted to units
Fields§
§accel: T
Accelerometer measurements (g)
gyro: T
Gyroscope measurements (rad/s)
temp: f32
Temperature sensor measurement (C)
Trait Implementations§
source§impl<T: Clone> Clone for ImuMeasurements<T>
impl<T: Clone> Clone for ImuMeasurements<T>
source§fn clone(&self) -> ImuMeasurements<T>
fn clone(&self) -> ImuMeasurements<T>
Returns a copy 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<T: Debug> Debug for ImuMeasurements<T>
impl<T: Debug> Debug for ImuMeasurements<T>
impl<T: Copy> Copy for ImuMeasurements<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ImuMeasurements<T>where T: RefUnwindSafe,
impl<T> Send for ImuMeasurements<T>where T: Send,
impl<T> Sync for ImuMeasurements<T>where T: Sync,
impl<T> Unpin for ImuMeasurements<T>where T: Unpin,
impl<T> UnwindSafe for ImuMeasurements<T>where T: UnwindSafe,
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