pub struct J2000s;Expand description
J2000 seconds on the source scale’s coordinate axis.
Trait Implementations§
Source§impl<S: CoordinateScale> ConversionTarget<S> for J2000s
impl<S: CoordinateScale> ConversionTarget<S> for J2000s
type Output = EncodedTime<S, J2000s>
fn try_convert(src: Time<S>) -> Result<Self::Output, ConversionError>
Source§impl<S: CoordinateScale> InfallibleConversionTarget<S> for J2000s
impl<S: CoordinateScale> InfallibleConversionTarget<S> for J2000s
Source§impl<S: CoordinateScale> InfallibleRepresentationForScale<S> for J2000s
impl<S: CoordinateScale> InfallibleRepresentationForScale<S> for J2000s
Source§impl Ord for J2000s
impl Ord for J2000s
Source§impl PartialOrd for J2000s
impl PartialOrd for J2000s
Source§impl<S: CoordinateScale> RepresentationForScale<S> for J2000s
impl<S: CoordinateScale> RepresentationForScale<S> for J2000s
fn try_from_time( time: Time<S>, _ctx: &TimeContext, ) -> Result<Second, ConversionError>
fn try_into_time( raw: Second, _ctx: &TimeContext, ) -> Result<Time<S>, ConversionError>
Source§impl TimeRepresentation for J2000s
impl TimeRepresentation for J2000s
impl Copy for J2000s
impl Eq for J2000s
impl StructuralPartialEq for J2000s
Auto Trait Implementations§
impl Freeze for J2000s
impl RefUnwindSafe for J2000s
impl Send for J2000s
impl Sync for J2000s
impl Unpin for J2000s
impl UnsafeUnpin for J2000s
impl UnwindSafe for J2000s
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.