Struct mavlink::development::AIRSPEED_DATA
source · pub struct AIRSPEED_DATA {
pub airspeed: f32,
pub raw_press: f32,
pub temperature: i16,
pub id: u8,
pub flags: AirspeedSensorFlags,
}
Available on crate feature
development
only.Expand description
id: 295 Airspeed information from a sensor..
Fields§
§airspeed: f32
Calibrated airspeed (CAS)..
raw_press: f32
Raw differential pressure. NaN for value unknown/not supplied..
temperature: i16
Temperature. INT16_MAX for value unknown/not supplied..
id: u8
Sensor ID..
flags: AirspeedSensorFlags
Airspeed sensor flags..
Implementations§
source§impl AIRSPEED_DATA
impl AIRSPEED_DATA
pub const ENCODED_LEN: usize = 12usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for AIRSPEED_DATA
impl Clone for AIRSPEED_DATA
source§fn clone(&self) -> AIRSPEED_DATA
fn clone(&self) -> AIRSPEED_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 AIRSPEED_DATA
impl Debug for AIRSPEED_DATA
source§impl Default for AIRSPEED_DATA
impl Default for AIRSPEED_DATA
source§impl<'de> Deserialize<'de> for AIRSPEED_DATA
impl<'de> Deserialize<'de> for AIRSPEED_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 AIRSPEED_DATA
impl MessageData for AIRSPEED_DATA
const ID: u32 = 295u32
const NAME: &'static str = "AIRSPEED"
const EXTRA_CRC: u8 = 234u8
const ENCODED_LEN: usize = 12usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for AIRSPEED_DATA
impl PartialEq for AIRSPEED_DATA
source§impl Serialize for AIRSPEED_DATA
impl Serialize for AIRSPEED_DATA
impl StructuralPartialEq for AIRSPEED_DATA
Auto Trait Implementations§
impl Freeze for AIRSPEED_DATA
impl RefUnwindSafe for AIRSPEED_DATA
impl Send for AIRSPEED_DATA
impl Sync for AIRSPEED_DATA
impl Unpin for AIRSPEED_DATA
impl UnwindSafe for AIRSPEED_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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)