#[non_exhaustive]pub enum SaltCorrectionMethod {
Schildkraut,
SantaLucia,
Owczarzy,
}Expand description
Method for salt concentration correction.
Maps to the C enum salt_correction_type in oligotm.h.
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.
Schildkraut
Schildkraut & Lifson 1965 (schildkraut = 0).
SantaLucia
SantaLucia 1998 (santalucia = 1). Recommended.
Owczarzy
Owczarzy et al. 2008 (owczarzy = 2).
Trait Implementations§
Source§impl Clone for SaltCorrectionMethod
impl Clone for SaltCorrectionMethod
Source§fn clone(&self) -> SaltCorrectionMethod
fn clone(&self) -> SaltCorrectionMethod
Returns a duplicate of the value. Read more
1.0.0 · 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 SaltCorrectionMethod
impl Debug for SaltCorrectionMethod
Source§impl Default for SaltCorrectionMethod
impl Default for SaltCorrectionMethod
Source§fn default() -> SaltCorrectionMethod
fn default() -> SaltCorrectionMethod
Returns the “default value” for a type. Read more
Source§impl Hash for SaltCorrectionMethod
impl Hash for SaltCorrectionMethod
Source§impl PartialEq for SaltCorrectionMethod
impl PartialEq for SaltCorrectionMethod
impl Copy for SaltCorrectionMethod
impl Eq for SaltCorrectionMethod
impl StructuralPartialEq for SaltCorrectionMethod
Auto Trait Implementations§
impl Freeze for SaltCorrectionMethod
impl RefUnwindSafe for SaltCorrectionMethod
impl Send for SaltCorrectionMethod
impl Sync for SaltCorrectionMethod
impl Unpin for SaltCorrectionMethod
impl UnsafeUnpin for SaltCorrectionMethod
impl UnwindSafe for SaltCorrectionMethod
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