Struct bmi160::DataScaled
source · pub struct DataScaled {
pub accel: Option<Sensor3DDataScaled>,
pub gyro: Option<Sensor3DDataScaled>,
pub magnet: Option<MagnetometerData>,
pub time: Option<u32>,
}
Expand description
Sensor data read
Fields§
§accel: Option<Sensor3DDataScaled>
Accelerometer data (if selected)
gyro: Option<Sensor3DDataScaled>
Gyroscope data (if selected)
magnet: Option<MagnetometerData>
Magnetometer data (if selected)
time: Option<u32>
Time data (if selected)
Trait Implementations§
source§impl Clone for DataScaled
impl Clone for DataScaled
source§fn clone(&self) -> DataScaled
fn clone(&self) -> DataScaled
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 Debug for DataScaled
impl Debug for DataScaled
source§impl PartialEq for DataScaled
impl PartialEq for DataScaled
source§fn eq(&self, other: &DataScaled) -> bool
fn eq(&self, other: &DataScaled) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DataScaled
impl StructuralPartialEq for DataScaled
Auto Trait Implementations§
impl Freeze for DataScaled
impl RefUnwindSafe for DataScaled
impl Send for DataScaled
impl Sync for DataScaled
impl Unpin for DataScaled
impl UnwindSafe for DataScaled
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