pub struct EngineOutput<R, S>where
S: UserState,{
pub result: R,
pub summary: RunSummary<S::Float>,
pub termination: Termination,
}Expand description
Result of a completed calculation.
Returned by the engine run method
Fields§
§result: RUser-defined result produced by the procedure.
summary: RunSummary<S::Float>Execution summary.
termination: TerminationReason execution terminated.
Implementations§
Source§impl<R, S> EngineOutput<R, S>where
S: UserState,
impl<R, S> EngineOutput<R, S>where
S: UserState,
pub fn with_snapshot(
self,
snapshot: S::Snapshot,
) -> EngineOutputWithSnapshot<R, S>where
S: UserState + Snapshotable,
Trait Implementations§
Auto Trait Implementations§
impl<R, S> Freeze for EngineOutput<R, S>
impl<R, S> RefUnwindSafe for EngineOutput<R, S>
impl<R, S> Send for EngineOutput<R, S>
impl<R, S> Sync for EngineOutput<R, S>
impl<R, S> Unpin for EngineOutput<R, S>
impl<R, S> UnsafeUnpin for EngineOutput<R, S>
impl<R, S> UnwindSafe for EngineOutput<R, S>
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