pub struct VelocityPositionFastMessage {
Show 16 fields pub from: String, pub latitude: f64, pub longitude: f64, pub true_altitude: f64, pub altitude_agl: f64, pub pitch: f64, pub bank: f64, pub heading: f64, pub on_ground: bool, pub x_velocity: f64, pub y_velocity: f64, pub z_velocity: f64, pub pitch_rad_per_sec: f64, pub heading_rad_per_sec: f64, pub bank_rad_per_sec: f64, pub nose_gear_angle: Option<f64>,
}

Fields§

§from: String§latitude: f64§longitude: f64§true_altitude: f64§altitude_agl: f64§pitch: f64§bank: f64§heading: f64§on_ground: bool§x_velocity: f64§y_velocity: f64§z_velocity: f64§pitch_rad_per_sec: f64§heading_rad_per_sec: f64§bank_rad_per_sec: f64§nose_gear_angle: Option<f64>

Implementations§

source§

impl VelocityPositionFastMessage

source

pub fn new( from: impl AsRef<str>, latitude: f64, longitude: f64, true_altitude: f64, altitude_agl: f64, pitch: f64, bank: f64, heading: f64, on_ground: bool, x_velocity: f64, y_velocity: f64, z_velocity: f64, pitch_rad_per_sec: f64, heading_rad_per_sec: f64, bank_rad_per_sec: f64, nose_gear_angle: Option<f64> ) -> Self

Trait Implementations§

source§

impl Debug for VelocityPositionFastMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for VelocityPositionFastMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<VelocityPositionSlowMessage> for VelocityPositionFastMessage

source§

fn from(value: VelocityPositionSlowMessage) -> Self

Converts to this type from the input type.
source§

impl TryFrom<&[&str]> for VelocityPositionFastMessage

§

type Error = FsdMessageParseError

The type returned in the event of a conversion error.
source§

fn try_from(fields: &[&str]) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.