pub enum DynFrame {
Icrf,
J2000,
Cirf,
Tirf,
Itrf,
Iau(DynOrigin),
Mod(ReferenceSystem),
Tod(ReferenceSystem),
Pef(ReferenceSystem),
Teme,
}Expand description
Enum representation of all known reference frames, for dynamic dispatch.
Variants§
Icrf
International Celestial Reference Frame.
J2000
J2000 Mean Equator and Equinox.
Cirf
Celestial Intermediate Reference Frame.
Tirf
Terrestrial Intermediate Reference Frame.
Itrf
International Terrestrial Reference Frame.
Iau(DynOrigin)
IAU body-fixed frame for the given origin.
Mod(ReferenceSystem)
Mean of Date frame for the given IERS convention.
Tod(ReferenceSystem)
True of Date frame for the given IERS convention.
Pef(ReferenceSystem)
Pseudo-Earth Fixed frame for the given IERS convention.
Teme
True Equator Mean Equinox.
Trait Implementations§
Source§impl<T: IersSystem + Into<ReferenceSystem>> From<Mod<T>> for DynFrame
impl<T: IersSystem + Into<ReferenceSystem>> From<Mod<T>> for DynFrame
Source§impl<T: IersSystem + Into<ReferenceSystem>> From<Pef<T>> for DynFrame
impl<T: IersSystem + Into<ReferenceSystem>> From<Pef<T>> for DynFrame
Source§impl<T: IersSystem + Into<ReferenceSystem>> From<Tod<T>> for DynFrame
impl<T: IersSystem + Into<ReferenceSystem>> From<Tod<T>> for DynFrame
Source§impl ReferenceFrame for DynFrame
impl ReferenceFrame for DynFrame
Source§impl TryBodyFixed for DynFrame
impl TryBodyFixed for DynFrame
Source§fn try_body_fixed(&self) -> Result<(), NonBodyFixedFrameError>
fn try_body_fixed(&self) -> Result<(), NonBodyFixedFrameError>
Returns
Ok(()) if the frame is body-fixed.Source§impl TryQuasiInertial for DynFrame
impl TryQuasiInertial for DynFrame
Source§fn try_quasi_inertial(&self) -> Result<(), NonQuasiInertialFrameError>
fn try_quasi_inertial(&self) -> Result<(), NonQuasiInertialFrameError>
Returns
Ok(()) if the frame is quasi-inertial.impl Copy for DynFrame
impl Eq for DynFrame
impl StructuralPartialEq for DynFrame
Auto Trait Implementations§
impl Freeze for DynFrame
impl RefUnwindSafe for DynFrame
impl Send for DynFrame
impl Sync for DynFrame
impl Unpin for DynFrame
impl UnsafeUnpin for DynFrame
impl UnwindSafe for DynFrame
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 moreSource§impl<T, U> TryRotation<Cirf, DynFrame, T> for U
impl<T, U> TryRotation<Cirf, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Cirf, T> for U
impl<T, U> TryRotation<DynFrame, Cirf, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, DynFrame, T> for U
impl<T, U> TryRotation<DynFrame, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Iau<DynOrigin>, T> for U
impl<T, U> TryRotation<DynFrame, Iau<DynOrigin>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Icrf, T> for U
impl<T, U> TryRotation<DynFrame, Icrf, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Itrf, T> for U
impl<T, U> TryRotation<DynFrame, Itrf, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, J2000, T> for U
impl<T, U> TryRotation<DynFrame, J2000, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Mod<Iers1996>, T> for U
impl<T, U> TryRotation<DynFrame, Mod<Iers1996>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Mod<Iers2003>, T> for U
impl<T, U> TryRotation<DynFrame, Mod<Iers2003>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Mod<Iers2010>, T> for U
impl<T, U> TryRotation<DynFrame, Mod<Iers2010>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Pef<Iers1996>, T> for U
impl<T, U> TryRotation<DynFrame, Pef<Iers1996>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Pef<Iers2003>, T> for U
impl<T, U> TryRotation<DynFrame, Pef<Iers2003>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Pef<Iers2010>, T> for U
impl<T, U> TryRotation<DynFrame, Pef<Iers2010>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Teme, T> for U
impl<T, U> TryRotation<DynFrame, Teme, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Tirf, T> for U
impl<T, U> TryRotation<DynFrame, Tirf, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Tod<Iers1996>, T> for U
impl<T, U> TryRotation<DynFrame, Tod<Iers1996>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Tod<Iers2003>, T> for U
impl<T, U> TryRotation<DynFrame, Tod<Iers2003>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<DynFrame, Tod<Iers2010>, T> for U
impl<T, U> TryRotation<DynFrame, Tod<Iers2010>, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Iau<DynOrigin>, DynFrame, T> for U
impl<T, U> TryRotation<Iau<DynOrigin>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Icrf, DynFrame, T> for U
impl<T, U> TryRotation<Icrf, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Itrf, DynFrame, T> for U
impl<T, U> TryRotation<Itrf, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<J2000, DynFrame, T> for U
impl<T, U> TryRotation<J2000, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Mod<Iers1996>, DynFrame, T> for U
impl<T, U> TryRotation<Mod<Iers1996>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Mod<Iers2003>, DynFrame, T> for U
impl<T, U> TryRotation<Mod<Iers2003>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Mod<Iers2010>, DynFrame, T> for U
impl<T, U> TryRotation<Mod<Iers2010>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Pef<Iers1996>, DynFrame, T> for U
impl<T, U> TryRotation<Pef<Iers1996>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Pef<Iers2003>, DynFrame, T> for U
impl<T, U> TryRotation<Pef<Iers2003>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Pef<Iers2010>, DynFrame, T> for U
impl<T, U> TryRotation<Pef<Iers2010>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Teme, DynFrame, T> for U
impl<T, U> TryRotation<Teme, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Tirf, DynFrame, T> for U
impl<T, U> TryRotation<Tirf, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Tod<Iers1996>, DynFrame, T> for U
impl<T, U> TryRotation<Tod<Iers1996>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Tod<Iers2003>, DynFrame, T> for U
impl<T, U> TryRotation<Tod<Iers2003>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.
Source§impl<T, U> TryRotation<Tod<Iers2010>, DynFrame, T> for U
impl<T, U> TryRotation<Tod<Iers2010>, DynFrame, T> for U
Source§type Error = DynRotationError
type Error = DynRotationError
The error type returned when the rotation cannot be computed.