pub struct DefaultRotationProvider;Trait Implementations§
Source§impl Clone for DefaultRotationProvider
impl Clone for DefaultRotationProvider
Source§fn clone(&self) -> DefaultRotationProvider
fn clone(&self) -> DefaultRotationProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultRotationProvider
impl Debug for DefaultRotationProvider
Source§impl OffsetProvider for DefaultRotationProvider
impl OffsetProvider for DefaultRotationProvider
type Error = Infallible
fn tai_to_ut1(&self, delta: TimeDelta) -> Result<TimeDelta, Self::Error>
fn ut1_to_tai(&self, delta: TimeDelta) -> Result<TimeDelta, Self::Error>
fn tai_to_tt(&self) -> TimeDelta
fn tt_to_tai(&self) -> TimeDelta
fn tt_to_tcg(&self, delta: TimeDelta) -> TimeDelta
fn tcg_to_tt(&self, delta: TimeDelta) -> TimeDelta
fn tdb_to_tcb(&self, delta: TimeDelta) -> TimeDelta
fn tcb_to_tdb(&self, delta: TimeDelta) -> TimeDelta
fn tt_to_tdb(&self, delta: TimeDelta) -> TimeDelta
fn tdb_to_tt(&self, delta: TimeDelta) -> TimeDelta
Source§impl<T> RotationProvider<T> for DefaultRotationProviderwhere
T: TimeScale,
impl<T> RotationProvider<T> for DefaultRotationProviderwhere
T: TimeScale,
type EopError = Infallible
fn corrections( &self, _time: Time<T>, _sys: ReferenceSystem, ) -> Result<Corrections, Self::EopError>
fn pole_coords(&self, _time: Time<T>) -> Result<PoleCoords, Self::EopError>
fn icrf_to_iau<R>( &self, time: Time<T>, frame: Iau<R>, ) -> Result<Rotation, RotationError>
fn iau_to_icrf<R>( &self, time: Time<T>, frame: Iau<R>, ) -> Result<Rotation, RotationError>
fn icrf_to_itrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn itrf_to_icrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn icrf_to_j2000(&self) -> Rotation
fn j2000_to_icrf(&self) -> Rotation
fn j2000_to_mod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn mod_to_j2000( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn icrf_to_mod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn mod_to_icrf( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn mod_to_tod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn tod_to_mod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn tod_to_pef( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn pef_to_tod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn pef_to_itrf( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn itrf_to_pef( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
fn tod_to_teme(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn teme_to_tod(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn icrf_to_cirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn cirf_to_icrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn cirf_to_tirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn tirf_to_cirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn tirf_to_itrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
fn itrf_to_tirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
impl Copy for DefaultRotationProvider
Auto Trait Implementations§
impl Freeze for DefaultRotationProvider
impl RefUnwindSafe for DefaultRotationProvider
impl Send for DefaultRotationProvider
impl Sync for DefaultRotationProvider
impl Unpin for DefaultRotationProvider
impl UnsafeUnpin for DefaultRotationProvider
impl UnwindSafe for DefaultRotationProvider
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more