pub struct Velocity {
pub speed: f64,
pub heading: f64,
}Fields§
§speed: f64m/s over the ground
heading: f64Heading in degrees
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Velocity
impl<'de> Deserialize<'de> for Velocity
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§fn from(packet: &NavPvtOwned) -> Self
fn from(packet: &NavPvtOwned) -> Self
Converts to this type from the input type.
Source§fn from(packet: &NavPvtOwned) -> Self
fn from(packet: &NavPvtOwned) -> Self
Converts to this type from the input type.
Source§fn from(packet: &NavPvtOwned) -> Self
fn from(packet: &NavPvtOwned) -> Self
Converts to this type from the input type.
Source§fn from(packet: &NavVelNedOwned) -> Self
fn from(packet: &NavVelNedOwned) -> Self
Converts to this type from the input type.
Source§fn from(packet: &NavVelNedRef<'a>) -> Self
fn from(packet: &NavVelNedRef<'a>) -> Self
Converts to this type from the input type.
impl Copy for Velocity
Auto Trait Implementations§
impl Freeze for Velocity
impl RefUnwindSafe for Velocity
impl Send for Velocity
impl Sync for Velocity
impl Unpin for Velocity
impl UnwindSafe for Velocity
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