pub struct Spline {
pub order: u8,
pub points: Vec<SplinePoint>,
pub extrapolate: bool,
}Expand description
<xtce:SplineCalibrator>.
Fields§
§order: u80 for nearest-lower-point, 1 for linear interpolation.
points: Vec<SplinePoint>Points sorted by raw value.
extrapolate: boolWhether queries outside the point range are extrapolated instead of rejected.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Spline
impl Freeze for Spline
impl Move for Spline
impl RefUnwindSafe for Spline
impl Send for Spline
impl Sync for Spline
impl Unpin for Spline
impl UnsafeUnpin for Spline
impl UnwindSafe for Spline
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