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>
instrument_root: Option<Instrument>
Implementations
Loads the provided input_filename as an XB
Loads the provided input buffer as an XB
Finds the ephemeris provided the path as usize, e.g. [3,1] would return the Moon with any DE xb.
Returns the machine path of the requested ephemeris
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message with a length-delimiter to a buffer. Read more
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
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.
pub fn vzip(self) -> V