pub struct PhysicsConsistencyResult {
pub predicted_drift: f32,
pub observed_drift: f32,
pub deviation_ratio: f32,
pub is_consistent: bool,
pub reason: ReasonCode,
}Expand description
Result of comparing an observed drift against a physics model prediction.
Fields§
§predicted_drift: f32Predicted drift rate from the model.
observed_drift: f32Observed drift from the DSFB engine.
deviation_ratio: f32Relative deviation: |observed − predicted| / predicted.
f32::MAX if predicted ≈ 0.
is_consistent: boolWhether observed drift is within the specified tolerance of predicted.
reason: ReasonCodeThe DSFB reason code the model maps to.
Trait Implementations§
Source§impl Clone for PhysicsConsistencyResult
impl Clone for PhysicsConsistencyResult
Source§fn clone(&self) -> PhysicsConsistencyResult
fn clone(&self) -> PhysicsConsistencyResult
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 moreSource§impl Debug for PhysicsConsistencyResult
impl Debug for PhysicsConsistencyResult
impl Copy for PhysicsConsistencyResult
Auto Trait Implementations§
impl Freeze for PhysicsConsistencyResult
impl RefUnwindSafe for PhysicsConsistencyResult
impl Send for PhysicsConsistencyResult
impl Sync for PhysicsConsistencyResult
impl Unpin for PhysicsConsistencyResult
impl UnsafeUnpin for PhysicsConsistencyResult
impl UnwindSafe for PhysicsConsistencyResult
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