Skip to main content

DefaultRotationProvider

Struct DefaultRotationProvider 

Source
pub struct DefaultRotationProvider;
Expand description

Default rotation provider with no EOP data (zero corrections, zero polar motion).

Trait Implementations§

Source§

impl Clone for DefaultRotationProvider

Source§

fn clone(&self) -> DefaultRotationProvider

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for DefaultRotationProvider

Source§

impl Debug for DefaultRotationProvider

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl OffsetProvider for DefaultRotationProvider

Source§

type Error = !

The error type for fallible offset computations (e.g. UT1).
Source§

fn tai_to_ut1(&self, delta: TimeDelta) -> Result<TimeDelta, Self::Error>

Returns the TAI→UT1 offset at the given delta.
Source§

fn ut1_to_tai(&self, delta: TimeDelta) -> Result<TimeDelta, Self::Error>

Returns the UT1→TAI offset at the given delta.
Source§

fn tai_to_tt(&self) -> TimeDelta

Returns the constant TAI→TT offset.
Source§

fn tt_to_tai(&self) -> TimeDelta

Returns the constant TT→TAI offset.
Source§

fn tai_to_gps(&self) -> TimeDelta

Returns the constant TAI→GPS offset.
Source§

fn gps_to_tai(&self) -> TimeDelta

Returns the constant GPS→TAI offset.
Source§

fn tt_to_tcg(&self, delta: TimeDelta) -> TimeDelta

Returns the TT→TCG offset at the given delta.
Source§

fn tcg_to_tt(&self, delta: TimeDelta) -> TimeDelta

Returns the TCG→TT offset at the given delta.
Source§

fn tdb_to_tcb(&self, delta: TimeDelta) -> TimeDelta

Returns the TDB→TCB offset at the given delta.
Source§

fn tcb_to_tdb(&self, delta: TimeDelta) -> TimeDelta

Returns the TCB→TDB offset at the given delta.
Source§

fn tt_to_tdb(&self, delta: TimeDelta) -> TimeDelta

Returns the TT→TDB offset at the given delta.
Source§

fn tdb_to_tt(&self, delta: TimeDelta) -> TimeDelta

Returns the TDB→TT offset at the given delta.
Source§

impl<T> RotationProvider<T> for DefaultRotationProvider

Source§

type EopError = !

The error type for EOP lookups.
Source§

fn corrections( &self, _time: Time<T>, _sys: ReferenceSystem, ) -> Result<Corrections, Self::EopError>

Returns nutation/precession corrections for the given reference system.
Source§

fn pole_coords(&self, _time: Time<T>) -> Result<PoleCoords, Self::EopError>

Returns polar motion coordinates at the given time.
Source§

fn icrf_to_iau<R>( &self, time: Time<T>, frame: Iau<R>, ) -> Result<Rotation, RotationError>

Rotation from ICRF to an IAU body-fixed frame.
Source§

fn iau_to_icrf<R>( &self, time: Time<T>, frame: Iau<R>, ) -> Result<Rotation, RotationError>

Rotation from an IAU body-fixed frame to ICRF.
Source§

fn icrf_to_itrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb> + TryOffset<T, Tt> + TryOffset<T, Ut1>,

Rotation from ICRF to ITRF (via CIO-based path).
Source§

fn itrf_to_icrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb> + TryOffset<T, Tt> + TryOffset<T, Ut1>,

Rotation from ITRF to ICRF.
Source§

fn icrf_to_j2000(&self) -> Rotation

Rotation from ICRF to J2000 (frame bias).
Source§

fn j2000_to_icrf(&self) -> Rotation

Rotation from J2000 to ICRF (inverse frame bias).
Source§

fn j2000_to_mod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from J2000 to Mean of Date.
Source§

fn mod_to_j2000( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from Mean of Date to J2000.
Source§

fn icrf_to_mod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from ICRF to Mean of Date (bias + precession).
Source§

fn mod_to_icrf( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from Mean of Date to ICRF.
Source§

fn mod_to_tod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb>,

Rotation from Mean of Date to True of Date (nutation).
Source§

fn tod_to_mod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb>,

Rotation from True of Date to Mean of Date.
Source§

fn tod_to_pef( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt> + TryOffset<T, Ut1>,

Rotation from True of Date to Pseudo-Earth Fixed (Earth rotation).
Source§

fn pef_to_tod( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt> + TryOffset<T, Ut1>,

Rotation from Pseudo-Earth Fixed to True of Date.
Source§

fn pef_to_itrf( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from Pseudo-Earth Fixed to ITRF (polar motion).
Source§

fn itrf_to_pef( &self, time: Time<T>, sys: ReferenceSystem, ) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from ITRF to Pseudo-Earth Fixed.
Source§

fn tod_to_teme(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb>,

Rotation from True of Date to TEME.
Source§

fn teme_to_tod(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb>,

Rotation from TEME to True of Date.
Source§

fn icrf_to_teme(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt> + TryOffset<T, Tdb>,

Rotation from ICRF to TEME (classical FK5 chain).
Source§

fn teme_to_icrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt> + TryOffset<T, Tdb>,

Rotation from TEME to ICRF.
Source§

fn icrf_to_cirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb>,

Rotation from ICRF to CIRF (CIP + CIO).
Source§

fn cirf_to_icrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tdb>,

Rotation from CIRF to ICRF.
Source§

fn cirf_to_tirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Ut1>,

Rotation from CIRF to TIRF (Earth rotation angle).
Source§

fn tirf_to_cirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Ut1>,

Rotation from TIRF to CIRF.
Source§

fn tirf_to_itrf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from TIRF to ITRF (polar motion).
Source§

fn itrf_to_tirf(&self, time: Time<T>) -> Result<Rotation, RotationError>
where T: ContinuousTimeScale + Copy, Self: TryOffset<T, Tt>,

Rotation from ITRF to TIRF.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, Origin, Target> Offset<Origin, Target> for T
where Origin: ContinuousTimeScale, Target: ContinuousTimeScale, T: TryOffset<Origin, Target, Error = !>,

Source§

fn offset(&self, origin: Origin, target: Target, delta: TimeDelta) -> TimeDelta

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TryOffset<Gps, Gps> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Gps, _target: Gps, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, Tai> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Gps, _target: Tai, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, Tcb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Gps, target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, Tcg> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Gps, target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, Tdb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Gps, target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Gps, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, Tt> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Gps, target: Tt, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Gps, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Gps, _target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Gps, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Gps> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tai, _target: Gps, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Tai> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tai, _target: Tai, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Tcb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tai, target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Tcg> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tai, target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Tdb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tai, target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tai, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Tt> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tai, _target: Tt, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tai, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tai, _target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tai, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Gps> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcb, target: Gps, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Tai> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcb, target: Tai, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Tcb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tcb, _target: Tcb, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Tcg> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcb, target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Tdb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tcb, _target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcb, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Tt> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcb, target: Tt, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcb, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tcb, _target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcb, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Gps> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcg, target: Gps, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Tai> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcg, target: Tai, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Tcb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcg, target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Tcg> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tcg, _target: Tcg, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Tdb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcg, target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tcg, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Tt> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tcg, _target: Tt, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tcg, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tcg, _target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tcg, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Gps> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tdb, target: Gps, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Tai> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tdb, target: Tai, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Tcb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tdb, _target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Tcg> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tdb, target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Tdb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tdb, _target: Tdb, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tdb, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Tt> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tdb, _target: Tt, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tdb, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tdb, _target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tdb, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Gps> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Gps, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Tai> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Tai, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Tcb> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Tcg> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Tdb> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Tt> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Tt, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<TimeScale, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: TimeScale, target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<TimeScale, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Gps> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tt, target: Gps, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Tai> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tt, _target: Tai, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Tcb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tt, target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Tcg> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tt, _target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Tdb> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tt, _target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Tt, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Tt> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tt, _target: Tt, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Tt, Ut1> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Tt, _target: Ut1, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Tt, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Gps> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Gps, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Gps>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Tai> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Tai, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Tai>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Tcb> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Tcb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Tcb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Tcg> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Tcg, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Tcg>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Tdb> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Tdb, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Tdb>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, TimeScale> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, origin: Ut1, target: TimeScale, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, TimeScale>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Tt> for T
where T: OffsetProvider,

Source§

type Error = <T as OffsetProvider>::Error

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Tt, delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Tt>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T> TryOffset<Ut1, Ut1> for T
where T: OffsetProvider,

Source§

type Error = !

The error type returned when the offset cannot be computed.
Source§

fn try_offset( &self, _origin: Ut1, _target: Ut1, _delta: TimeDelta, ) -> Result<TimeDelta, <T as TryOffset<Ut1, Ut1>>::Error>

Computes the offset from origin to target at the given delta since J2000.
Source§

impl<T, O, Tg, P> TryRotation<O, Tg, T> for P

Source§

type Error = RotationError

The error type returned when the rotation cannot be computed.
Source§

fn try_rotation( &self, origin: O, target: Tg, time: Time<T>, ) -> Result<Rotation, <P as TryRotation<O, Tg, T>>::Error>

Computes the rotation from origin to target at the given time.