Enum nyx_space::celestia::eclipse::Frame [−][src]
Variants
Any celestial frame which only has a GM (e.g. 3 body frames)
Any Geoid which has a GM, flattening value, etc.
Fields of Geoid
Velocity, Normal, Cross
Radial, Cross, Normal
Radial, in-track, normal
Used as a placeholder only
Implementations
impl Frame
[src]
pub fn is_geoid(&self) -> bool
[src]
pub fn is_celestial(&self) -> bool
[src]
pub fn ephem_path(&self) -> Vec<usize>
[src]
pub fn frame_path(&self) -> Vec<usize>
[src]
pub fn gm(&self) -> f64
[src]
pub fn gm_mut(&mut self, new_gm: f64)
[src]
Allows mutuating the GM for this frame
pub fn equatorial_radius(&self) -> f64
[src]
pub fn flattening(&self) -> f64
[src]
pub fn semi_major_radius(&self) -> f64
[src]
pub fn angular_velocity(&self) -> f64
[src]
Returns the angular velocity for some planets and moons Source for Earth: G. Xu and Y. Xu, “GPS”, DOI 10.1007/978-3-662-50367-6_2, 2016 (confirmed by https://hpiers.obspm.fr/eop-pc/models/constants.html) Source for everything else: https://en.wikipedia.org/w/index.php?title=Day&oldid=1008298887
Trait Implementations
impl Clone for Frame
[src]
impl Copy for Frame
[src]
impl Debug for Frame
[src]
impl Display for Frame
[src]
impl PartialEq<Frame> for Frame
[src]
impl StructuralPartialEq for Frame
[src]
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Scalar for T where
T: PartialEq<T> + Copy + Any + Debug,
[src]
T: PartialEq<T> + Copy + Any + Debug,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,