Enum nyx_space::cosmic::eclipse::LightTimeCalc [−][src]
pub enum LightTimeCalc {
None,
LightTime,
Abberation,
}
Expand description
Enable or not light time correction for the computation of the celestial states
Variants
None
No correction, i.e. assumes instantaneous propagation of photons
LightTime
Accounts for light-time correction. This is corresponds to CN in SPICE.
Abberation
Accounts for light-time and stellar abberation where the solar system barycenter is the inertial frame. Corresponds to CN+S in SPICE.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LightTimeCalc
impl Send for LightTimeCalc
impl Sync for LightTimeCalc
impl Unpin for LightTimeCalc
impl UnwindSafe for LightTimeCalc
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.