pub enum Sp3TimeSystem {
Gps,
Glonass,
Galileo,
Tai,
Utc,
Qzss,
Beidou,
Irnss,
}Expand description
SP3 time-system labels from the %c descriptor.
The core TimeScale model does not distinguish every SP3 label as its own
global scale. Keep the exact SP3 label here so products using GLONASS, QZSS,
or IRNSS time are accepted and can be serialized without being silently
relabeled.
Variants§
Gps
GPS time (GPS).
Glonass
GLONASS UTC time system (GLO).
Galileo
Galileo system time (GAL).
Tai
International Atomic Time (TAI).
Utc
Coordinated Universal Time (UTC).
Qzss
QZSS time (QZS).
Beidou
BeiDou time (BDT).
Irnss
IRNSS / NavIC time (IRN).
Implementations§
Source§impl Sp3TimeSystem
impl Sp3TimeSystem
Sourcepub fn time_scale(self) -> TimeScale
pub fn time_scale(self) -> TimeScale
Core time scale used to tag parsed Instant values.
For labels the core model has exactly, this is the direct equivalent. For
SP3-only labels, the exact product label remains available through
Sp3Header::time_system, and this value preserves the existing
interpolation-axis API until the global time model grows those scales.
Trait Implementations§
Source§impl Clone for Sp3TimeSystem
impl Clone for Sp3TimeSystem
Source§fn clone(&self) -> Sp3TimeSystem
fn clone(&self) -> Sp3TimeSystem
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 Sp3TimeSystem
Source§impl Debug for Sp3TimeSystem
impl Debug for Sp3TimeSystem
impl Eq for Sp3TimeSystem
Source§impl Hash for Sp3TimeSystem
impl Hash for Sp3TimeSystem
Source§impl PartialEq for Sp3TimeSystem
impl PartialEq for Sp3TimeSystem
Source§fn eq(&self, other: &Sp3TimeSystem) -> bool
fn eq(&self, other: &Sp3TimeSystem) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Sp3TimeSystem
Auto Trait Implementations§
impl Freeze for Sp3TimeSystem
impl RefUnwindSafe for Sp3TimeSystem
impl Send for Sp3TimeSystem
impl Sync for Sp3TimeSystem
impl Unpin for Sp3TimeSystem
impl UnsafeUnpin for Sp3TimeSystem
impl UnwindSafe for Sp3TimeSystem
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,
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>
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>
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>
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.