pub struct MeasurementOverride {
pub measurement: usize,
pub value: Option<f64>,
pub sigma: Option<f64>,
}Expand description
A per-measurement change against the batch’s shared template.
Deliberately cannot change kind or target. Either would move the gain
matrix’s sparsity pattern and invalidate the cached symbolic factorization
that makes batching worth doing at all — the exact analogue of
BusOverride refusing to change bus_type. A
caller whose sensor set genuinely changes shape wants a second batch.
A scenario that does not have some reading sets its sigma to infinity rather than dropping the row: the row then exists structurally and weighs exactly nothing, which is what keeps one pattern serving every scenario.
Fields§
§measurement: usize§value: Option<f64>§sigma: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for MeasurementOverride
impl Clone for MeasurementOverride
impl Copy for MeasurementOverride
Source§impl Debug for MeasurementOverride
impl Debug for MeasurementOverride
Source§impl Default for MeasurementOverride
impl Default for MeasurementOverride
Source§impl PartialEq for MeasurementOverride
impl PartialEq for MeasurementOverride
impl StructuralPartialEq for MeasurementOverride
Auto Trait Implementations§
impl Freeze for MeasurementOverride
impl RefUnwindSafe for MeasurementOverride
impl Send for MeasurementOverride
impl Sync for MeasurementOverride
impl Unpin for MeasurementOverride
impl UnsafeUnpin for MeasurementOverride
impl UnwindSafe for MeasurementOverride
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more