Enum SolveFailure
pub(crate) enum SolveFailure {
Unbracketed {
lo: f64,
hi: f64,
},
Unconverged {
residual: f64,
iterations: usize,
},
}Expand description
Why a solve did not produce a root.
Variants§
Unbracketed
f(lo) and f(hi) sit on the same side of the target.
Unconverged
The iteration cap was reached with this residual outstanding.
Trait Implementations§
§impl Clone for SolveFailure
impl Clone for SolveFailure
§fn clone(&self) -> SolveFailure
fn clone(&self) -> SolveFailure
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 SolveFailure
§impl Debug for SolveFailure
impl Debug for SolveFailure
§impl PartialEq for SolveFailure
impl PartialEq for SolveFailure
impl StructuralPartialEq for SolveFailure
Auto Trait Implementations§
impl Freeze for SolveFailure
impl RefUnwindSafe for SolveFailure
impl Send for SolveFailure
impl Sync for SolveFailure
impl Unpin for SolveFailure
impl UnsafeUnpin for SolveFailure
impl UnwindSafe for SolveFailure
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