Struct nyx_space::celestia::Xb[][src]

pub struct Xb {
    pub meta: Option<Metadata>,
    pub constants: HashMap<String, Constant>,
    pub ephemeris_root: Option<Ephemeris>,
    pub orientation_root: Option<Orientation>,
    pub navigation_objects: Vec<NavigationObject>,
    pub instrument_root: Option<Instrument>,
}

Fields

meta: Option<Metadata>constants: HashMap<String, Constant>ephemeris_root: Option<Ephemeris>orientation_root: Option<Orientation>navigation_objects: Vec<NavigationObject>instrument_root: Option<Instrument>

Implementations

impl Xb[src]

pub fn from_file(input_filename: &str) -> Result<Self, NyxError>[src]

Loads the provided input_filename as an XB

pub fn from_buffer(input_xb_buf: &[u8]) -> Result<Self, NyxError>[src]

Loads the provided input buffer as an XB

pub fn ephemeris_from_path<'a>(
    &'a self,
    path: &[usize]
) -> Result<&'a Ephemeris, NyxError>
[src]

Finds the ephemeris provided the path as usize, e.g. [3,1] would return the Moon with any DE xb.

pub fn ephemeris_find_path(&self, name: String) -> Result<Vec<usize>, NyxError>[src]

Returns the machine path of the requested ephemeris

pub fn ephemeris_get_names(&self) -> Vec<String>[src]

Trait Implementations

impl Clone for Xb[src]

impl Debug for Xb[src]

impl Default for Xb[src]

impl Message for Xb[src]

impl PartialEq<Xb> for Xb[src]

impl StructuralPartialEq for Xb[src]

Auto Trait Implementations

impl RefUnwindSafe for Xb

impl Send for Xb

impl Sync for Xb

impl Unpin for Xb

impl UnwindSafe for Xb

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>,