pub struct MrftCompat {
pub replicate_lower_clamp_bug: bool,
pub replicate_extrema_reset_bug: bool,
}Expand description
Legacy-bug replication flags, for bug-for-bug replay validation against captured legacy
traces (see core-bug-register). Every field defaults to false: the fixed, correct
behavior. Set a field true only to intentionally reproduce that specific legacy defect,
e.g. when asserting parity against a captured trace that has the bug baked in.
Fields§
§replicate_lower_clamp_bug: boolReplicates CheckMVboundaries’s lower-clamp bug: clamps to mv_range_low + mv_ini
instead of the dimensionally-correct mv_ini - mv_range_low. Silently masked whenever
mv_range_low == 0 (the common 0-100% case); only visibly wrong for cascaded loops
with a nonzero MV range floor.
replicate_extrema_reset_bug: boolReplicates the legacy extrema reset: after a switch, result measurement starts from
pv_value_ini instead of the switch sample. This can discard the shared switch endpoint
from the next half-cycle and produce a zero or biased PV amplitude when sampling is sparse.
Trait Implementations§
Source§impl Clone for MrftCompat
impl Clone for MrftCompat
Source§fn clone(&self) -> MrftCompat
fn clone(&self) -> MrftCompat
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MrftCompat
Source§impl Debug for MrftCompat
impl Debug for MrftCompat
Source§impl Default for MrftCompat
impl Default for MrftCompat
Source§fn default() -> MrftCompat
fn default() -> MrftCompat
impl Eq for MrftCompat
Source§impl PartialEq for MrftCompat
impl PartialEq for MrftCompat
Source§fn eq(&self, other: &MrftCompat) -> bool
fn eq(&self, other: &MrftCompat) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MrftCompat
Auto Trait Implementations§
impl Freeze for MrftCompat
impl RefUnwindSafe for MrftCompat
impl Send for MrftCompat
impl Sync for MrftCompat
impl Unpin for MrftCompat
impl UnsafeUnpin for MrftCompat
impl UnwindSafe for MrftCompat
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
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
§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
key and return true if they are equal.