Struct spice::spicetools::SystemBuilder[][src]

pub struct SystemBuilder { /* fields omitted */ }

Builder of the system type.

You might be interested in System.

Implementations

impl SystemBuilder[src]

pub fn kernel<P: Into<PathBuf>>(
    &mut self,
    file: P
) -> Result<&mut Self, KernelError>
[src]

Set kernel from its name.

pub fn frame<S: Into<String>>(&mut self, name: S) -> &mut Self[src]

Set reference frame.

pub fn observer<S: Into<String>>(&mut self, name: S) -> &mut Self[src]

Set observer.

pub fn target<S: Into<String>>(&mut self, name: S) -> &mut Self[src]

Set target.

pub fn start_date<S: Into<String>>(&mut self, date: S) -> &mut Self[src]

Set start date.

pub fn duration(&mut self, time: f64) -> &mut Self[src]

Set duration.

pub fn aberration_correction<S: Into<String>>(&mut self, name: S) -> &mut Self[src]

Set aberration correction.

pub fn build(&self) -> Result<System, SystemBuilderError>[src]

Build to give System.

Trait Implementations

impl Clone for SystemBuilder[src]

impl Debug for SystemBuilder[src]

impl Default for SystemBuilder[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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

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.