pub struct Empty;Expand description
It does nothing.
Trait Implementations§
Source§impl<P: Problem> IterHook<P> for Empty
impl<P: Problem> IterHook<P> for Empty
Source§fn iterated(&mut self, _new: &Evaluation<P>)
fn iterated(&mut self, _new: &Evaluation<P>)
Called right after the iteration is performed.
new is the newly generated evaluation yield by iterate.Source§fn better_changed(&mut self, _old: &Evaluation<P>, _new: &Evaluation<P>)
fn better_changed(&mut self, _old: &Evaluation<P>, _new: &Evaluation<P>)
Called when the “global” best is being replaced by a new evaluation.
Auto Trait Implementations§
impl Freeze for Empty
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnsafeUnpin for Empty
impl UnwindSafe for Empty
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