pub struct Velocity {
pub speed: f64,
pub heading: f64,
}
Fields§
§speed: f64
m/s over the ground
heading: f64
Heading 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: &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 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