#[non_exhaustive]pub enum FixType {
None,
Autonomous,
Differential,
Precise,
RtkFixed,
RtkFloat,
Estimated,
Manual,
Simulated,
}Expand description
Fix method.
Follows the NMEA mode indicators. Downstream, FixType::is_position_fix
distinguishes satellite-measured positions from carried-forward, manual or
simulated ones.
#[non_exhaustive]; match with a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No fix; the position is the last known one.
Autonomous
Autonomous single-receiver fix.
Differential
Differential (DGPS, SBAS).
Precise
Precise Positioning Service (military).
RtkFixed
RTK, integer ambiguity fixed.
RtkFloat
RTK float.
Estimated
Receiver dead reckoning bridging a coverage gap.
Manual
Manual input.
Simulated
Simulator.
Implementations§
Trait Implementations§
impl Copy for FixType
impl Eq for FixType
impl StructuralPartialEq for FixType
Auto Trait Implementations§
impl Freeze for FixType
impl RefUnwindSafe for FixType
impl Send for FixType
impl Sync for FixType
impl Unpin for FixType
impl UnsafeUnpin for FixType
impl UnwindSafe for FixType
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