[][src]Struct mavlink::common::LANDING_TARGET_DATA

pub struct LANDING_TARGET_DATA {
    pub time_usec: u64,
    pub angle_x: f32,
    pub angle_y: f32,
    pub distance: f32,
    pub size_x: f32,
    pub size_y: f32,
    pub target_num: u8,
    pub frame: MavFrame,
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub q: [f32; 4],
    pub mavtype: LandingTargetType,
    pub position_valid: u8,
}

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

Fields

time_usec: u64

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

angle_x: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

angle_y: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

distance: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

size_x: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

size_y: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

target_num: u8

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

frame: MavFrame

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

x: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

y: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

z: f32

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

q: [f32; 4]

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

mavtype: LandingTargetType

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

position_valid: u8

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

Implementations

impl LANDING_TARGET_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for LANDING_TARGET_DATA[src]

impl Debug for LANDING_TARGET_DATA[src]

impl Default for LANDING_TARGET_DATA[src]

impl<'de> Deserialize<'de> for LANDING_TARGET_DATA[src]

impl PartialEq<LANDING_TARGET_DATA> for LANDING_TARGET_DATA[src]

impl Serialize for LANDING_TARGET_DATA[src]

impl StructuralPartialEq for LANDING_TARGET_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.