pub enum GnssSystem {
Gps,
Glonass,
Galileo,
BeiDou,
Qzss,
Navic,
Sbas,
}Expand description
A GNSS constellation (satellite system).
Variants follow the RINEX / IGS single-letter system identifiers, which are the canonical keys used throughout SP3, RINEX, and IONEX products:
| Letter | Variant | System |
|---|---|---|
G | GnssSystem::Gps | GPS (US) |
R | GnssSystem::Glonass | GLONASS (RU) |
E | GnssSystem::Galileo | Galileo (EU) |
C | GnssSystem::BeiDou | BeiDou (CN) |
J | GnssSystem::Qzss | QZSS (JP) |
I | GnssSystem::Navic | NavIC / IRNSS (IN) |
S | GnssSystem::Sbas | SBAS (geostationary augmentation) |
Note that timekeeping is constellation-tagged separately (TimeScale):
GPS/Galileo/BeiDou each run their own system time, and GNSS week numbers are
not cross-comparable between systems.
Variants§
Gps
GPS (United States), RINEX letter G.
Glonass
GLONASS (Russia), RINEX letter R.
Galileo
Galileo (European Union), RINEX letter E.
BeiDou
BeiDou (China), RINEX letter C.
Qzss
QZSS (Japan), RINEX letter J.
NavIC / IRNSS (India), RINEX letter I.
Sbas
SBAS geostationary augmentation, RINEX letter S.
Implementations§
Source§impl GnssSystem
impl GnssSystem
Sourcepub const fn from_letter(letter: char) -> Option<Self>
pub const fn from_letter(letter: char) -> Option<Self>
Parse a RINEX / IGS single-letter system identifier.
Returns None for an unrecognized letter. Accepts uppercase letters
only, as emitted by SP3/RINEX/IONEX products.
Trait Implementations§
Source§impl Clone for GnssSystem
impl Clone for GnssSystem
Source§fn clone(&self) -> GnssSystem
fn clone(&self) -> GnssSystem
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for GnssSystem
Source§impl Debug for GnssSystem
impl Debug for GnssSystem
Source§impl Display for GnssSystem
impl Display for GnssSystem
impl Eq for GnssSystem
Source§impl Hash for GnssSystem
impl Hash for GnssSystem
Source§impl Ord for GnssSystem
impl Ord for GnssSystem
Source§fn cmp(&self, other: &GnssSystem) -> Ordering
fn cmp(&self, other: &GnssSystem) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for GnssSystem
impl PartialEq for GnssSystem
Source§fn eq(&self, other: &GnssSystem) -> bool
fn eq(&self, other: &GnssSystem) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GnssSystem
impl PartialOrd for GnssSystem
impl StructuralPartialEq for GnssSystem
Auto Trait Implementations§
impl Freeze for GnssSystem
impl RefUnwindSafe for GnssSystem
impl Send for GnssSystem
impl Sync for GnssSystem
impl Unpin for GnssSystem
impl UnsafeUnpin for GnssSystem
impl UnwindSafe for GnssSystem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.