pub(crate) struct FitTable<'a> {
pub(crate) out: &'a mut dyn Write,
pub(crate) within: Option<f64>,
pub(crate) rows: Vec<FitRow>,
}Expand description
The table of fit as it is written: with --within two columns more, how many standard errors the fitted value is
from the config’s and the result (ok, FAIL, or not judged where the row has no standard error or no config’s value).
Fields§
§out: &'a mut dyn Write§within: Option<f64>§rows: Vec<FitRow>Implementations§
Source§impl FitTable<'_>
impl FitTable<'_>
pub(crate) fn header(&mut self) -> Result<(), Failure>
Sourcepub(crate) fn row(
&mut self,
line: String,
quantity: &str,
of: &str,
values: Option<[f64; 3]>,
) -> Result<(), Failure>
pub(crate) fn row( &mut self, line: String, quantity: &str, of: &str, values: Option<[f64; 3]>, ) -> Result<(), Failure>
line is the row’s six columns; values its config’s value, the fitted one and the standard error, where it has them.
pub(crate) fn note( &mut self, quantity: &str, of: &str, values: Option<[f64; 3]>, )
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FitTable<'a>
impl<'a> !Send for FitTable<'a>
impl<'a> !Sync for FitTable<'a>
impl<'a> !UnwindSafe for FitTable<'a>
impl<'a> Freeze for FitTable<'a>
impl<'a> Unpin for FitTable<'a>
impl<'a> UnsafeUnpin for FitTable<'a>
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