pub struct LinearAdjustment {
pub slope: f64,
pub intercept: f64,
}Expand description
<xtce:LinearAdjustment>: slope * x + intercept.
Fields§
§slope: f64Multiplier.
intercept: f64Additive term.
Implementations§
Trait Implementations§
Source§impl Clone for LinearAdjustment
impl Clone for LinearAdjustment
impl Copy for LinearAdjustment
Auto Trait Implementations§
impl Forget for LinearAdjustment
impl Freeze for LinearAdjustment
impl Move for LinearAdjustment
impl RefUnwindSafe for LinearAdjustment
impl Send for LinearAdjustment
impl Sync for LinearAdjustment
impl Unpin for LinearAdjustment
impl UnsafeUnpin for LinearAdjustment
impl UnwindSafe for LinearAdjustment
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