#[non_exhaustive]pub enum SolverMethod {
NewtonRaphson,
Brent,
}Expand description
Method used by the IV solver.
New variants may be added in future minor versions; match exhaustively
at your own peril (the enum is #[non_exhaustive]).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SolverMethod
impl Clone for SolverMethod
Source§fn clone(&self) -> SolverMethod
fn clone(&self) -> SolverMethod
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 SolverMethod
impl Debug for SolverMethod
Source§impl<'de> Deserialize<'de> for SolverMethod
impl<'de> Deserialize<'de> for SolverMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SolverMethod
impl Hash for SolverMethod
Source§impl PartialEq for SolverMethod
impl PartialEq for SolverMethod
Source§fn eq(&self, other: &SolverMethod) -> bool
fn eq(&self, other: &SolverMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SolverMethod
impl Serialize for SolverMethod
impl Copy for SolverMethod
impl Eq for SolverMethod
impl StructuralPartialEq for SolverMethod
Auto Trait Implementations§
impl Freeze for SolverMethod
impl RefUnwindSafe for SolverMethod
impl Send for SolverMethod
impl Sync for SolverMethod
impl Unpin for SolverMethod
impl UnsafeUnpin for SolverMethod
impl UnwindSafe for SolverMethod
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