pub enum IterOutcome {
Continue,
Converged,
EarlyStop,
}Expand description
Outcome of one main-loop iteration inside a packing phase.
Pulled out of pack() in phase A.4.3 to isolate the ~140-line per-iteration
body that runs movebad → relaxers → pgencan → radii schedule. Continue
means “run the next iteration”; Converged means the convergence predicate
fired inside this iteration; EarlyStop means a Handler::should_stop()
returned true.
Variants§
Trait Implementations§
Source§impl Clone for IterOutcome
impl Clone for IterOutcome
Source§fn clone(&self) -> IterOutcome
fn clone(&self) -> IterOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IterOutcome
Source§impl Debug for IterOutcome
impl Debug for IterOutcome
impl Eq for IterOutcome
Source§impl PartialEq for IterOutcome
impl PartialEq for IterOutcome
Source§fn eq(&self, other: &IterOutcome) -> bool
fn eq(&self, other: &IterOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IterOutcome
Auto Trait Implementations§
impl Freeze for IterOutcome
impl RefUnwindSafe for IterOutcome
impl Send for IterOutcome
impl Sync for IterOutcome
impl Unpin for IterOutcome
impl UnsafeUnpin for IterOutcome
impl UnwindSafe for IterOutcome
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