#[repr(C)]pub struct EkfBaroSample {
pub time_us: u64,
pub hgt: f32,
pub reset: u8,
pub _pad: [u8; 3],
}Expand description
Barometric altitude sample
Fields§
§time_us: u64< timestamp [µs]
hgt: f32< altitude above mean sea level [m]
reset: u8< 1 if sensor replaced or calibration changed mid-flight
_pad: [u8; 3]< explicit padding to 16 bytes
Implementations§
Source§impl EkfBaroSample
impl EkfBaroSample
Trait Implementations§
Source§impl Clone for EkfBaroSample
impl Clone for EkfBaroSample
impl Copy for EkfBaroSample
Source§impl Debug for EkfBaroSample
impl Debug for EkfBaroSample
Auto Trait Implementations§
impl Freeze for EkfBaroSample
impl RefUnwindSafe for EkfBaroSample
impl Send for EkfBaroSample
impl Sync for EkfBaroSample
impl Unpin for EkfBaroSample
impl UnsafeUnpin for EkfBaroSample
impl UnwindSafe for EkfBaroSample
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