pub enum SolverEvent<N: Value> {
SolutionFound(Vec<N>),
ProgressUpdated(f32),
Paused,
Aborted(Matrix),
Finished,
}Expand description
Events that a solver emits.
Variants§
Auto Trait Implementations§
impl<N> Freeze for SolverEvent<N>
impl<N> RefUnwindSafe for SolverEvent<N>where
N: RefUnwindSafe,
impl<N> Send for SolverEvent<N>where
N: Send,
impl<N> Sync for SolverEvent<N>where
N: Sync,
impl<N> Unpin for SolverEvent<N>where
N: Unpin,
impl<N> UnwindSafe for SolverEvent<N>where
N: 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