pub struct MagnetometerData {
pub mag_x: f32,
pub mag_y: f32,
pub mag_z: f32,
pub timestamp_ms: u32,
}Expand description
Magnetometer data structure
Fields§
§mag_x: f32§mag_y: f32§mag_z: f32§timestamp_ms: u32Trait Implementations§
Source§impl Clone for MagnetometerData
impl Clone for MagnetometerData
Source§fn clone(&self) -> MagnetometerData
fn clone(&self) -> MagnetometerData
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 Format for MagnetometerData
impl Format for MagnetometerData
Auto Trait Implementations§
impl Freeze for MagnetometerData
impl RefUnwindSafe for MagnetometerData
impl Send for MagnetometerData
impl Sync for MagnetometerData
impl Unpin for MagnetometerData
impl UnsafeUnpin for MagnetometerData
impl UnwindSafe for MagnetometerData
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