pub struct TAI;Expand description
International Atomic Time. Continuous SI-second clock.
Trait Implementations§
Source§impl ConversionTarget<TAI> for UT1
impl ConversionTarget<TAI> for UT1
Source§impl ConversionTarget<UT1> for TAI
impl ConversionTarget<UT1> for TAI
Source§impl InfallibleRepresentationForScale<TAI> for GPS
impl InfallibleRepresentationForScale<TAI> for GPS
Source§impl Ord for TAI
impl Ord for TAI
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 TAI
impl PartialOrd for TAI
Source§impl RepresentationForScale<TAI> for GPS
impl RepresentationForScale<TAI> for GPS
fn try_from_time( time: Time<TAI>, _ctx: &TimeContext, ) -> Result<Quantity<Second>, ConversionError>
fn try_into_time( raw: Quantity<Second>, _ctx: &TimeContext, ) -> Result<Time<TAI>, ConversionError>
impl ContinuousScale for TAI
impl CoordinateScale for TAI
impl Copy for TAI
impl Eq for TAI
impl StructuralPartialEq for TAI
Auto Trait Implementations§
impl Freeze for TAI
impl RefUnwindSafe for TAI
impl Send for TAI
impl Sync for TAI
impl Unpin for TAI
impl UnsafeUnpin for TAI
impl UnwindSafe for TAI
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<S1, S2> ContextConversionTarget<S1> for S2
impl<S1, S2> ContextConversionTarget<S1> for S2
type Output = Time<S2>
fn convert_with( src: Time<S1>, ctx: &TimeContext, ) -> Result<<S2 as ContextConversionTarget<S1>>::Output, ConversionError>
Source§impl<S1, S2> ConversionTarget<S1> for S2
impl<S1, S2> ConversionTarget<S1> for S2
type Output = Time<S2>
fn try_convert( src: Time<S1>, ) -> Result<<S2 as ConversionTarget<S1>>::Output, ConversionError>
Source§impl<S1, S2> InfallibleConversionTarget<S1> for S2
impl<S1, S2> InfallibleConversionTarget<S1> for S2
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.