Struct nyx_space::cosmic::OrbitPartial
source · [−]pub struct OrbitPartial {
pub param: StateParameter,
pub dual: OHyperdual<f64, U7>,
}
Expand description
A type which stores the partial of an element
Fields
param: StateParameter
dual: OHyperdual<f64, U7>
Implementations
sourceimpl OrbitPartial
impl OrbitPartial
Trait Implementations
sourceimpl Clone for OrbitPartial
impl Clone for OrbitPartial
sourcefn clone(&self) -> OrbitPartial
fn clone(&self) -> OrbitPartial
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OrbitPartial
impl Debug for OrbitPartial
sourceimpl Display for OrbitPartial
impl Display for OrbitPartial
impl Copy for OrbitPartial
Auto Trait Implementations
impl RefUnwindSafe for OrbitPartial
impl Send for OrbitPartial
impl Sync for OrbitPartial
impl Unpin for OrbitPartial
impl UnwindSafe for OrbitPartial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Printing<T> for T where
T: Display,
impl<T> Printing<T> for T where
T: Display,
fn to_str(self) -> String
fn to_str(self) -> String
Method to serialize generic items, slices, and slices of Vecs.
Adds square brackets around Vecs (prettier lists).
Implementation code is in printing.rs
. Read more
fn to_plainstr(self) -> String
fn to_plainstr(self) -> String
Method to serialize generic items, slices, and slices of Vecs.
Implementation code is in printing.rs
. Read more
fn wvec(self, f: &mut File) -> Result<(), Error>
fn wvec(self, f: &mut File) -> Result<(), Error>
Method to write vector(s) to file f (space separated, without brackets). Passes up io errors Read more
fn pvec(self)
fn pvec(self)
Method to print vector(s) to stdout (space separated,without brackets).
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.