Struct follow_heating::math::model::LinearModel
source · pub struct LinearModel {
gradient: f32,
y_intercept: f32,
}
Fields§
§gradient: f32
§y_intercept: f32
Implementations§
source§impl LinearModel
impl LinearModel
Trait Implementations§
source§impl Clone for LinearModel
impl Clone for LinearModel
source§fn clone(&self) -> LinearModel
fn clone(&self) -> LinearModel
Returns a copy 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 LinearModel
impl Debug for LinearModel
source§impl PartialEq for LinearModel
impl PartialEq for LinearModel
source§fn eq(&self, other: &LinearModel) -> bool
fn eq(&self, other: &LinearModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LinearModel
Auto Trait Implementations§
impl RefUnwindSafe for LinearModel
impl Send for LinearModel
impl Sync for LinearModel
impl Unpin for LinearModel
impl UnwindSafe for LinearModel
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