pub trait GnssWeekScale: CoordinateScale {
// Required methods
fn epoch_j2000_seconds() -> f64;
fn rollover_period_weeks() -> u32;
}Expand description
Sealed trait providing the J2000-second offset of each GNSS scale’s epoch.
Implemented for GPST, GST, BDT, QZSST only.
Required Methods§
Sourcefn epoch_j2000_seconds() -> f64
fn epoch_j2000_seconds() -> f64
Nominal start-of-week-zero in system time J2000 seconds (computed from the constellation’s epoch expressed as TAI minus the fixed system-time offset).
Sourcefn rollover_period_weeks() -> u32
fn rollover_period_weeks() -> u32
Maximum representable week number before rollover, for documentation and validation purposes (the conversion itself uses full weeks).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".