pub struct GPS;Expand description
GPS seconds since the GPS epoch on the TAI/GPS continuous axis.
Trait Implementations§
Source§impl<S> ContextConversionTarget<S> for GPS
impl<S> ContextConversionTarget<S> for GPS
type Output = EncodedTime<TAI, GPS>
fn convert_with( src: Time<S>, ctx: &TimeContext, ) -> Result<Self::Output, ConversionError>
Source§impl<S> ConversionTarget<S> for GPS
impl<S> ConversionTarget<S> for GPS
type Output = EncodedTime<TAI, GPS>
fn try_convert(src: Time<S>) -> Result<Self::Output, ConversionError>
Source§impl<S> InfallibleConversionTarget<S> for GPS
impl<S> InfallibleConversionTarget<S> for GPS
Source§impl InfallibleRepresentationForScale<TAI> for GPS
impl InfallibleRepresentationForScale<TAI> for GPS
Source§impl Ord for GPS
impl Ord for GPS
Source§impl PartialOrd for GPS
impl PartialOrd for GPS
Source§impl RepresentationForScale<TAI> for GPS
impl RepresentationForScale<TAI> for GPS
fn try_from_time( time: Time<TAI>, _ctx: &TimeContext, ) -> Result<Second, ConversionError>
fn try_into_time( raw: Second, _ctx: &TimeContext, ) -> Result<Time<TAI>, ConversionError>
Source§impl TimeRepresentation for GPS
impl TimeRepresentation for GPS
impl Copy for GPS
impl Eq for GPS
impl StructuralPartialEq for GPS
Auto Trait Implementations§
impl Freeze for GPS
impl RefUnwindSafe for GPS
impl Send for GPS
impl Sync for GPS
impl Unpin for GPS
impl UnsafeUnpin for GPS
impl UnwindSafe for GPS
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<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.