#[non_exhaustive]pub struct GlobalResult {
pub x: Vec<f64>,
pub fun: f64,
pub nfev: usize,
pub iterations: usize,
}Expand description
The result of a global optimisation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x: Vec<f64>§fun: f64§nfev: usizeObjective evaluations, including those for finite-difference gradients.
iterations: usizeTrait Implementations§
Source§impl Clone for GlobalResult
impl Clone for GlobalResult
Auto Trait Implementations§
impl Freeze for GlobalResult
impl RefUnwindSafe for GlobalResult
impl Send for GlobalResult
impl Sync for GlobalResult
impl Unpin for GlobalResult
impl UnsafeUnpin for GlobalResult
impl UnwindSafe for GlobalResult
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