pub struct TT;Expand description
Terrestrial Time. The dynamical reference scale in this crate.
Related to TAI by TT = TAI + 32.184 s (exact).
Trait Implementations§
Source§impl<SrcF: TimeFormat> ConversionTarget<TT, SrcF> for UT1
impl<SrcF: TimeFormat> ConversionTarget<TT, SrcF> for UT1
Source§impl<SrcF: TimeFormat> ConversionTarget<UT1, SrcF> for TT
impl<SrcF: TimeFormat> ConversionTarget<UT1, SrcF> for TT
Source§impl Ord for TT
impl Ord for TT
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 TT
impl PartialOrd for TT
impl ContinuousScale for TT
impl CoordinateScale for TT
impl Copy for TT
impl Eq for TT
impl StructuralPartialEq for TT
Auto Trait Implementations§
impl Freeze for TT
impl RefUnwindSafe for TT
impl Send for TT
impl Sync for TT
impl Unpin for TT
impl UnsafeUnpin for TT
impl UnwindSafe for TT
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.