Struct simple_optimization::Polling
source · [−]pub struct Polling {
pub poll_rate: Duration,
pub printing: bool,
pub early_exit_minimum: Option<f64>,
pub thread_execution_reporting: bool,
}
Expand description
The struct defining polling data.
Fields
poll_rate: Duration
How often to poll the process.
printing: bool
If to print progress.
early_exit_minimum: Option<f64>
If to exit early if the evaluation function produces a value less than or equal to the given value.
thread_execution_reporting: bool
If to print thread execution information.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Polling
impl Send for Polling
impl Sync for Polling
impl Unpin for Polling
impl UnwindSafe for Polling
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more