Struct mavlink::ardupilotmega::VFR_HUD_DATA
source · pub struct VFR_HUD_DATA {
pub airspeed: f32,
pub groundspeed: f32,
pub alt: f32,
pub climb: f32,
pub heading: i16,
pub throttle: u16,
}
Fields§
§airspeed: f32
§groundspeed: f32
§alt: f32
§climb: f32
§heading: i16
§throttle: u16
Implementations§
source§impl VFR_HUD_DATA
impl VFR_HUD_DATA
pub const ENCODED_LEN: usize = 20usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for VFR_HUD_DATA
impl Clone for VFR_HUD_DATA
source§fn clone(&self) -> VFR_HUD_DATA
fn clone(&self) -> VFR_HUD_DATA
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 VFR_HUD_DATA
impl Debug for VFR_HUD_DATA
source§impl Default for VFR_HUD_DATA
impl Default for VFR_HUD_DATA
source§impl<'de> Deserialize<'de> for VFR_HUD_DATA
impl<'de> Deserialize<'de> for VFR_HUD_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for VFR_HUD_DATA
impl MessageData for VFR_HUD_DATA
type Message = MavMessage
const ID: u32 = 74u32
const NAME: &'static str = "VFR_HUD"
const EXTRA_CRC: u8 = 20u8
const ENCODED_LEN: usize = 20usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for VFR_HUD_DATA
impl PartialEq for VFR_HUD_DATA
source§fn eq(&self, other: &VFR_HUD_DATA) -> bool
fn eq(&self, other: &VFR_HUD_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VFR_HUD_DATA
impl Serialize for VFR_HUD_DATA
impl StructuralPartialEq for VFR_HUD_DATA
Auto Trait Implementations§
impl Freeze for VFR_HUD_DATA
impl RefUnwindSafe for VFR_HUD_DATA
impl Send for VFR_HUD_DATA
impl Sync for VFR_HUD_DATA
impl Unpin for VFR_HUD_DATA
impl UnwindSafe for VFR_HUD_DATA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)