Struct spice::spicetools::System [−][src]
System type to quickly provide sets of basic functions.
Implementations
impl System[src]
pub fn kernel(&self) -> &Kernel[src]
Get a reference to the kernel.
pub fn frame(&mut self) -> String[src]
Get the frame.
pub fn observer(&mut self) -> String[src]
Get the observer.
pub fn target(&mut self) -> String[src]
Get the target.
pub fn start_date(&mut self) -> String[src]
Get the start date.
pub fn duration(&mut self) -> f64[src]
Get the duration.
pub fn aberration_correction(&mut self) -> String[src]
Get the aberration correction.
pub fn load(&mut self) -> Result<(), KernelAlreadyLoadedError>[src]
Load the kernel of the system.
pub fn unload(&mut self) -> Result<(), KernelNotLoadedError>[src]
Unload the kernel of the system.
pub fn time_start(&mut self) -> f64[src]
Get the time at the start.
pub fn time_end(&mut self) -> f64[src]
Get the time at the end.
pub fn position_start(&mut self) -> Matrix3x1<f64>[src]
Get the position at the start.
pub fn position_end(&mut self) -> Matrix3x1<f64>[src]
Get the position at the end.
pub fn number_points(&mut self, time_step: f64) -> usize[src]
Get the number of points from start to end date with time step.
pub fn times(&mut self, time_step: f64) -> Matrix1xX<f64>[src]
Get the times.
pub fn times_formatted(&mut self, time_step: f64) -> Vec<String>[src]
Get the times formatted.
pub fn positions(&mut self, time_step: f64) -> Matrix3xX<f64>[src]
Get the positions from start to end with time step.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
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> Same<T> for T
type Output = T
Should always be Self
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, 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>,