pub struct PositionFix {
pub ts_ms: u64,
pub lat: f64,
pub lon: f64,
pub alt_m: Option<f64>,
pub speed_mps: Option<f64>,
pub heading_deg: Option<f64>,
pub accuracy_m: Option<f64>,
}Fields§
§ts_ms: u64§lat: f64§lon: f64§alt_m: Option<f64>§speed_mps: Option<f64>§heading_deg: Option<f64>§accuracy_m: Option<f64>Trait Implementations§
Source§impl Clone for PositionFix
impl Clone for PositionFix
Source§fn clone(&self) -> PositionFix
fn clone(&self) -> PositionFix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PositionFix
Source§impl Debug for PositionFix
impl Debug for PositionFix
Source§impl PartialEq for PositionFix
impl PartialEq for PositionFix
Source§fn eq(&self, other: &PositionFix) -> bool
fn eq(&self, other: &PositionFix) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PositionFix
Auto Trait Implementations§
impl Freeze for PositionFix
impl RefUnwindSafe for PositionFix
impl Send for PositionFix
impl Sync for PositionFix
impl Unpin for PositionFix
impl UnsafeUnpin for PositionFix
impl UnwindSafe for PositionFix
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