pub enum Calibrator {
Polynomial(Vec<PolynomialTerm>),
Spline(Spline),
Unsupported {
element: NameId,
},
}Expand description
A calibrator converting a raw encoded value into an engineering value.
Variants§
Polynomial(Vec<PolynomialTerm>)
<xtce:PolynomialCalibrator>.
Terms are kept in document order, not sorted by exponent: floating-point addition is not associative, and the differential tests compare against a reference that accumulates in document order.
Spline(Spline)
<xtce:SplineCalibrator>.
Unsupported
A calibrator kind outside this crate’s scope, e.g. MathOperationCalibrator.
Trait Implementations§
Source§impl Clone for Calibrator
impl Clone for Calibrator
Auto Trait Implementations§
impl Forget for Calibrator
impl Freeze for Calibrator
impl Move for Calibrator
impl RefUnwindSafe for Calibrator
impl Send for Calibrator
impl Sync for Calibrator
impl Unpin for Calibrator
impl UnsafeUnpin for Calibrator
impl UnwindSafe for Calibrator
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