pub struct DriftReport {
pub mean_error: f32,
pub accumulated_error: f32,
pub sample_count: usize,
pub trend: f32,
pub is_accelerating: bool,
pub should_escalate: bool,
pub lane: PrecisionLane,
}Expand description
Drift report summary
Fields§
§mean_error: f32Mean error over all samples
accumulated_error: f32Total accumulated error
sample_count: usizeNumber of samples processed
trend: f32Error trend (positive = getting worse)
is_accelerating: boolIs drift accelerating?
should_escalate: boolShould escalate precision lane?
lane: PrecisionLaneCurrent precision lane
Implementations§
Source§impl DriftReport
impl DriftReport
Sourcepub fn suggested_lane(&self) -> Option<PrecisionLane>
pub fn suggested_lane(&self) -> Option<PrecisionLane>
Suggested next lane
Trait Implementations§
Source§impl Clone for DriftReport
impl Clone for DriftReport
Source§fn clone(&self) -> DriftReport
fn clone(&self) -> DriftReport
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DriftReport
impl RefUnwindSafe for DriftReport
impl Send for DriftReport
impl Sync for DriftReport
impl Unpin for DriftReport
impl UnwindSafe for DriftReport
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