pub struct Gga {
pub time: Option<NmeaTime>,
pub latitude: Option<NmeaCoordinate>,
pub longitude: Option<NmeaCoordinate>,
pub quality: Option<GgaQuality>,
pub satellites_used: Option<u8>,
pub hdop: Option<f64>,
pub altitude_msl_m: Option<f64>,
pub geoid_separation_m: Option<f64>,
pub differential_age_s: Option<f64>,
pub differential_station_id: Option<u16>,
}Fields§
§time: Option<NmeaTime>§latitude: Option<NmeaCoordinate>§longitude: Option<NmeaCoordinate>§quality: Option<GgaQuality>§satellites_used: Option<u8>§hdop: Option<f64>§altitude_msl_m: Option<f64>§geoid_separation_m: Option<f64>§differential_age_s: Option<f64>§differential_station_id: Option<u16>Implementations§
Source§impl Gga
impl Gga
pub fn vrs_position( position: Wgs84Geodetic, time: NmeaTime, quality: GgaQuality, satellites_used: u8, hdop: f64, coordinate_decimals: u8, ) -> Result<Self, NmeaError>
Trait Implementations§
impl StructuralPartialEq for Gga
Auto Trait Implementations§
impl Freeze for Gga
impl RefUnwindSafe for Gga
impl Send for Gga
impl Sync for Gga
impl Unpin for Gga
impl UnsafeUnpin for Gga
impl UnwindSafe for Gga
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.