Enum nyx_space::celestia::Bodies[][src]

pub enum Bodies {
    SSB,
    Sun,
    MercuryBarycenter,
    Mercury,
    VenusBarycenter,
    Venus,
    EarthBarycenter,
    Earth,
    Luna,
    MarsBarycenter,
    JupiterBarycenter,
    SaturnBarycenter,
    UranusBarycenter,
    NeptuneBarycenter,
}

Defines the default celestial bodies in the provided de438 XB.

Variants

SSB
Sun
MercuryBarycenter
Mercury
VenusBarycenter
Venus
EarthBarycenter
Earth
Luna
MarsBarycenter
JupiterBarycenter
SaturnBarycenter
UranusBarycenter
NeptuneBarycenter

Implementations

impl Bodies[src]

pub fn ephem_path(&self) -> &'static [usize]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Returns the path in the standard de438 XB

pub fn name(&self) -> String[src]

Returns the human name

Trait Implementations

impl Clone for Bodies[src]

impl Copy for Bodies[src]

impl Debug for Bodies[src]

impl TryFrom<String> for Bodies[src]

type Error = NyxError

The type returned in the event of a conversion error.

impl TryFrom<Vec<usize, Global>> for Bodies[src]

type Error = NyxError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Bodies

impl Send for Bodies

impl Sync for Bodies

impl Unpin for Bodies

impl UnwindSafe for Bodies

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,