pub struct VfrHud {
pub airspeed: f32,
pub groundspeed: f32,
pub alt: f32,
pub climb: f32,
pub heading: i16,
pub throttle: u16,
}Expand description
VFR_HUD: the heads-up flight summary: speeds, heading, throttle, altitude, climb.
Fields§
§airspeed: f32§groundspeed: f32§alt: f32§climb: f32§heading: i16§throttle: u16Implementations§
Trait Implementations§
impl Copy for VfrHud
Source§impl Message for VfrHud
impl Message for VfrHud
Source§const NAME: &'static str = "VFR_HUD"
const NAME: &'static str = "VFR_HUD"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 20
const CRC_EXTRA: u8 = 20
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
impl StructuralPartialEq for VfrHud
Auto Trait Implementations§
impl Freeze for VfrHud
impl RefUnwindSafe for VfrHud
impl Send for VfrHud
impl Sync for VfrHud
impl Unpin for VfrHud
impl UnsafeUnpin for VfrHud
impl UnwindSafe for VfrHud
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