pub struct LocalSearchConfig {
pub initial_value: f64,
pub step_size: f64,
pub max_iterations: usize,
pub direction: ObjectiveDirection,
}Fields§
§initial_value: f64§step_size: f64§max_iterations: usize§direction: ObjectiveDirectionTrait Implementations§
Source§impl Clone for LocalSearchConfig
impl Clone for LocalSearchConfig
Source§fn clone(&self) -> LocalSearchConfig
fn clone(&self) -> LocalSearchConfig
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 moreSource§impl Debug for LocalSearchConfig
impl Debug for LocalSearchConfig
Source§impl PartialEq for LocalSearchConfig
impl PartialEq for LocalSearchConfig
Source§fn eq(&self, other: &LocalSearchConfig) -> bool
fn eq(&self, other: &LocalSearchConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LocalSearchConfig
impl StructuralPartialEq for LocalSearchConfig
Auto Trait Implementations§
impl Freeze for LocalSearchConfig
impl RefUnwindSafe for LocalSearchConfig
impl Send for LocalSearchConfig
impl Sync for LocalSearchConfig
impl Unpin for LocalSearchConfig
impl UnsafeUnpin for LocalSearchConfig
impl UnwindSafe for LocalSearchConfig
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