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]
&mut self,
file: P
) -> Result<&mut Self, KernelError>
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]
fn clone(&self) -> SystemBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SystemBuilder
[src]
impl Default for SystemBuilder
[src]
fn default() -> SystemBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for SystemBuilder
impl Send for SystemBuilder
impl Sync for SystemBuilder
impl Unpin for SystemBuilder
impl UnwindSafe for SystemBuilder
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<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 unsafe 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>,