pub struct TuningMathCompat {
pub replicate_period_truncation_bug: bool,
}Expand description
Legacy-bug replication flags for this module, mirroring crate::mrft::MrftCompat’s
pattern (see core-bug-register). Every field defaults to false: the fixed, correct
behavior.
Fields§
§replicate_period_truncation_bug: boolReplicate TuningConstantsCalc’s period calculation, which reconstructs elapsed time
from a TimeSpan’s .Hours/.Minutes/.Seconds component properties instead of
its total duration. That has two effects, both reproduced together when this is
true: sub-second precision is silently dropped (.Seconds is an integer), and whole
days are silently dropped for any run lasting 24 hours or longer (.Hours wraps at
24). The default (false) keeps millisecond precision and never wraps; set this
true only to reproduce the legacy behavior bit-for-bit against a captured legacy
trace.
Trait Implementations§
Source§impl Clone for TuningMathCompat
impl Clone for TuningMathCompat
Source§fn clone(&self) -> TuningMathCompat
fn clone(&self) -> TuningMathCompat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TuningMathCompat
Source§impl Debug for TuningMathCompat
impl Debug for TuningMathCompat
Source§impl Default for TuningMathCompat
impl Default for TuningMathCompat
Source§fn default() -> TuningMathCompat
fn default() -> TuningMathCompat
Returns the “default value” for a type. Read more
impl Eq for TuningMathCompat
Source§impl PartialEq for TuningMathCompat
impl PartialEq for TuningMathCompat
Source§fn eq(&self, other: &TuningMathCompat) -> bool
fn eq(&self, other: &TuningMathCompat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TuningMathCompat
Auto Trait Implementations§
impl Freeze for TuningMathCompat
impl RefUnwindSafe for TuningMathCompat
impl Send for TuningMathCompat
impl Sync for TuningMathCompat
impl Unpin for TuningMathCompat
impl UnsafeUnpin for TuningMathCompat
impl UnwindSafe for TuningMathCompat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.