pub enum CalibrationInput {
Integer(i128),
Float(f64),
}Expand description
The raw value handed to a calibrator.
Integers are kept as integers rather than widened to f64 on the way in, because
coefficient * x.pow(n) is evaluated exactly for integral x where it can be — see
polynomial.
Variants§
Trait Implementations§
Source§impl Clone for CalibrationInput
impl Clone for CalibrationInput
impl Copy for CalibrationInput
Auto Trait Implementations§
impl Forget for CalibrationInput
impl Freeze for CalibrationInput
impl Move for CalibrationInput
impl RefUnwindSafe for CalibrationInput
impl Send for CalibrationInput
impl Sync for CalibrationInput
impl Unpin for CalibrationInput
impl UnsafeUnpin for CalibrationInput
impl UnwindSafe for CalibrationInput
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