Struct mavlink::ardupilotmega::WIND_DATA
source · pub struct WIND_DATA {
pub direction: f32,
pub speed: f32,
pub speed_z: f32,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 168 Wind estimation..
Fields§
§direction: f32
Wind direction (that wind is coming from)..
speed: f32
Wind speed in ground plane..
speed_z: f32
Vertical wind speed..
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for WIND_DATA
impl<'de> Deserialize<'de> for WIND_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 WIND_DATA
impl MessageData for WIND_DATA
const ID: u32 = 168u32
const NAME: &'static str = "WIND"
const EXTRA_CRC: u8 = 1u8
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
impl StructuralPartialEq for WIND_DATA
Auto Trait Implementations§
impl Freeze for WIND_DATA
impl RefUnwindSafe for WIND_DATA
impl Send for WIND_DATA
impl Sync for WIND_DATA
impl Unpin for WIND_DATA
impl UnwindSafe for WIND_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
)