pub struct MultipleShootingSolution<T: MultishootNode<O>, const O: usize> {
pub x0: Spacecraft,
pub xf: Orbit,
pub nodes: Vec<T>,
pub solutions: Vec<TargeterSolution<3, O>>,
}
Fields§
§x0: Spacecraft
§xf: Orbit
§nodes: Vec<T>
§solutions: Vec<TargeterSolution<3, O>>
Implementations§
Source§impl<T: MultishootNode<O>, const O: usize> MultipleShootingSolution<T, O>
impl<T: MultishootNode<O>, const O: usize> MultipleShootingSolution<T, O>
Sourcepub fn build_trajectories(
&self,
prop: &Propagator<SpacecraftDynamics>,
almanac: Arc<Almanac>,
) -> Result<Vec<ScTraj>, MultipleShootingError>
pub fn build_trajectories( &self, prop: &Propagator<SpacecraftDynamics>, almanac: Arc<Almanac>, ) -> Result<Vec<ScTraj>, MultipleShootingError>
Allows building the trajectories between different nodes This will rebuild the targeters and apply the solutions sequentially
Trait Implementations§
Source§impl<T: Clone + MultishootNode<O>, const O: usize> Clone for MultipleShootingSolution<T, O>
impl<T: Clone + MultishootNode<O>, const O: usize> Clone for MultipleShootingSolution<T, O>
Source§fn clone(&self) -> MultipleShootingSolution<T, O>
fn clone(&self) -> MultipleShootingSolution<T, O>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug + MultishootNode<O>, const O: usize> Debug for MultipleShootingSolution<T, O>
impl<T: Debug + MultishootNode<O>, const O: usize> Debug for MultipleShootingSolution<T, O>
Auto Trait Implementations§
impl<T, const O: usize> Freeze for MultipleShootingSolution<T, O>
impl<T, const O: usize> RefUnwindSafe for MultipleShootingSolution<T, O>where
T: RefUnwindSafe,
impl<T, const O: usize> Send for MultipleShootingSolution<T, O>where
T: Send,
impl<T, const O: usize> Sync for MultipleShootingSolution<T, O>where
T: Sync,
impl<T, const O: usize> Unpin for MultipleShootingSolution<T, O>where
T: Unpin,
impl<T, const O: usize> UnwindSafe for MultipleShootingSolution<T, O>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
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.