pub struct Prometheus;Expand description
Prometheus (NAIF ID: 616).
Trait Implementations§
Source§impl Clone for Prometheus
impl Clone for Prometheus
Source§fn clone(&self) -> Prometheus
fn clone(&self) -> Prometheus
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 Prometheus
impl Debug for Prometheus
Source§impl Display for Prometheus
impl Display for Prometheus
Source§impl From<Prometheus> for DynOrigin
impl From<Prometheus> for DynOrigin
Source§fn from(_: Prometheus) -> DynOrigin
fn from(_: Prometheus) -> DynOrigin
Converts to this type from the input type.
Source§impl MeanRadius for Prometheus
impl MeanRadius for Prometheus
Source§fn mean_radius(&self) -> Distance
fn mean_radius(&self) -> Distance
Returns the mean radius.
Source§impl Origin for Prometheus
impl Origin for Prometheus
Source§impl PartialEq for Prometheus
impl PartialEq for Prometheus
Source§impl PointMass for Prometheus
impl PointMass for Prometheus
Source§fn gravitational_parameter(&self) -> GravitationalParameter
fn gravitational_parameter(&self) -> GravitationalParameter
Returns the gravitational parameter.
Source§impl RotationalElements for Prometheus
impl RotationalElements for Prometheus
Source§fn rotational_elements(&self, t: f64) -> (f64, f64, f64)
fn rotational_elements(&self, t: f64) -> (f64, f64, f64)
Returns the right ascension, declination, and prime meridian at epoch
t (seconds since J2000 TDB).Source§fn rotational_element_rates(&self, t: f64) -> (f64, f64, f64)
fn rotational_element_rates(&self, t: f64) -> (f64, f64, f64)
Returns the rates of the rotational elements at epoch
t.Source§fn right_ascension(&self, t: f64) -> f64
fn right_ascension(&self, t: f64) -> f64
Returns the right ascension at epoch
t.Source§fn right_ascension_rate(&self, t: f64) -> f64
fn right_ascension_rate(&self, t: f64) -> f64
Returns the right ascension rate at epoch
t.Source§fn declination(&self, t: f64) -> f64
fn declination(&self, t: f64) -> f64
Returns the declination at epoch
t.Source§fn declination_rate(&self, t: f64) -> f64
fn declination_rate(&self, t: f64) -> f64
Returns the declination rate at epoch
t.Source§fn rotation_angle(&self, t: f64) -> f64
fn rotation_angle(&self, t: f64) -> f64
Returns the prime meridian angle at epoch
t.Source§fn rotation_rate(&self, t: f64) -> f64
fn rotation_rate(&self, t: f64) -> f64
Returns the prime meridian rotation rate at epoch
t.Source§impl TriaxialEllipsoid for Prometheus
impl TriaxialEllipsoid for Prometheus
impl Copy for Prometheus
impl Eq for Prometheus
impl StructuralPartialEq for Prometheus
Auto Trait Implementations§
impl Freeze for Prometheus
impl RefUnwindSafe for Prometheus
impl Send for Prometheus
impl Sync for Prometheus
impl Unpin for Prometheus
impl UnsafeUnpin for Prometheus
impl UnwindSafe for Prometheus
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> Pointable for T
impl<T> Pointable for T
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.Source§impl<T> TryMeanRadius for Twhere
T: MeanRadius,
impl<T> TryMeanRadius for Twhere
T: MeanRadius,
Source§fn try_mean_radius(&self) -> Result<Distance, UndefinedOriginPropertyError>
fn try_mean_radius(&self) -> Result<Distance, UndefinedOriginPropertyError>
Returns the mean radius, or an error if undefined.
Source§impl<T> TryPointMass for Twhere
T: PointMass,
impl<T> TryPointMass for Twhere
T: PointMass,
Source§fn try_gravitational_parameter(
&self,
) -> Result<GravitationalParameter, UndefinedOriginPropertyError>
fn try_gravitational_parameter( &self, ) -> Result<GravitationalParameter, UndefinedOriginPropertyError>
Returns the gravitational parameter, or an error if undefined.
Source§impl<T> TryRotationalElements for Twhere
T: RotationalElements,
impl<T> TryRotationalElements for Twhere
T: RotationalElements,
Source§fn try_rotational_elements(
&self,
t: f64,
) -> Result<(f64, f64, f64), UndefinedOriginPropertyError>
fn try_rotational_elements( &self, t: f64, ) -> Result<(f64, f64, f64), UndefinedOriginPropertyError>
Returns the rotational elements at epoch
t, or an error if undefined.Source§fn try_rotational_element_rates(
&self,
t: f64,
) -> Result<(f64, f64, f64), UndefinedOriginPropertyError>
fn try_rotational_element_rates( &self, t: f64, ) -> Result<(f64, f64, f64), UndefinedOriginPropertyError>
Returns the rotational element rates at epoch
t, or an error if undefined.Source§fn try_right_ascension(
&self,
t: f64,
) -> Result<f64, UndefinedOriginPropertyError>
fn try_right_ascension( &self, t: f64, ) -> Result<f64, UndefinedOriginPropertyError>
Returns the right ascension at epoch
t, or an error if undefined.Source§fn try_right_ascension_rate(
&self,
t: f64,
) -> Result<f64, UndefinedOriginPropertyError>
fn try_right_ascension_rate( &self, t: f64, ) -> Result<f64, UndefinedOriginPropertyError>
Returns the right ascension rate at epoch
t, or an error if undefined.Source§fn try_declination(&self, t: f64) -> Result<f64, UndefinedOriginPropertyError>
fn try_declination(&self, t: f64) -> Result<f64, UndefinedOriginPropertyError>
Returns the declination at epoch
t, or an error if undefined.Source§fn try_declination_rate(
&self,
t: f64,
) -> Result<f64, UndefinedOriginPropertyError>
fn try_declination_rate( &self, t: f64, ) -> Result<f64, UndefinedOriginPropertyError>
Returns the declination rate at epoch
t, or an error if undefined.Source§fn try_rotation_angle(
&self,
t: f64,
) -> Result<f64, UndefinedOriginPropertyError>
fn try_rotation_angle( &self, t: f64, ) -> Result<f64, UndefinedOriginPropertyError>
Returns the prime meridian angle at epoch
t, or an error if undefined.Source§fn try_rotation_rate(&self, t: f64) -> Result<f64, UndefinedOriginPropertyError>
fn try_rotation_rate(&self, t: f64) -> Result<f64, UndefinedOriginPropertyError>
Returns the prime meridian rotation rate at epoch
t, or an error if undefined.