pub struct Outcome<P> {
pub x: P,
pub iterations: usize,
pub stop: Stop,
pub turned_down: usize,
}Expand description
Where minimize ended, and how it got there.
Fields§
§x: P§iterations: usize§stop: Stop§turned_down: usizeSteps proposed and turned down — or proposed again without the curvature learned — on the way: what the iterations do not count.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for Outcome<P>where
P: Freeze,
impl<P> RefUnwindSafe for Outcome<P>where
P: RefUnwindSafe,
impl<P> Send for Outcome<P>where
P: Send,
impl<P> Sync for Outcome<P>where
P: Sync,
impl<P> Unpin for Outcome<P>where
P: Unpin,
impl<P> UnsafeUnpin for Outcome<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for Outcome<P>where
P: 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