pub struct ET;Expand description
NAIF/SPICE Ephemeris Time — compatibility marker.
ET exists so users interchanging values with NAIF/CSPICE can keep the
scale label distinct in their typed code. The current implementation
routes ET ↔ {TT, TDB, …} through the same Fairhead–Bretagnon model
used for TDB: numerically Time<ET> is identical to Time<TDB> within
the documented model accuracy (~10 µs over 1600–2200 TT).
Treat this as a SPICE-compatibility label, not a new physical
realization. A future high-precision SPICE-equivalent ET implementation
can replace the conversion without breaking callers that already use
Time<ET> versus Time<TDB>.
Trait Implementations§
Source§impl<SrcF: TimeFormat> ConversionTarget<ET, SrcF> for UT1
impl<SrcF: TimeFormat> ConversionTarget<ET, SrcF> for UT1
Source§impl<SrcF: TimeFormat> ConversionTarget<UT1, SrcF> for ET
impl<SrcF: TimeFormat> ConversionTarget<UT1, SrcF> for ET
Source§impl Ord for ET
impl Ord for ET
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ET
impl PartialOrd for ET
impl ContinuousScale for ET
impl CoordinateScale for ET
impl Copy for ET
impl Eq for ET
impl StructuralPartialEq for ET
Auto Trait Implementations§
impl Freeze for ET
impl RefUnwindSafe for ET
impl Send for ET
impl Sync for ET
impl Unpin for ET
impl UnsafeUnpin for ET
impl UnwindSafe for ET
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<S1, S2, SrcF> ContextConversionTarget<S1, SrcF> for S2
impl<S1, S2, SrcF> ContextConversionTarget<S1, SrcF> for S2
type Output = Time<S2, SrcF>
fn convert_with( src: Time<S1, SrcF>, ctx: &TimeContext, ) -> Result<<S2 as ContextConversionTarget<S1, SrcF>>::Output, ConversionError>
Source§impl<S1, S2, SrcF> ConversionTarget<S1, SrcF> for S2
impl<S1, S2, SrcF> ConversionTarget<S1, SrcF> for S2
type Output = Time<S2, SrcF>
fn try_convert( src: Time<S1, SrcF>, ) -> Result<<S2 as ConversionTarget<S1, SrcF>>::Output, ConversionError>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.