pub struct ThresholdComputation {
pub page_num: usize,
pub config_name: String,
pub multiplier: f32,
pub min_threshold: f32,
pub max_threshold: f32,
pub median_gap: f32,
pub computed_raw: f32,
pub computed_final: f32,
pub used_bimodal: bool,
pub reason: String,
}Available on crate feature
debug-span-merging only.Expand description
Threshold computation details.
Fields§
§page_num: usizePage number
config_name: StringConfig name (e.g., “balanced”, “adaptive”)
multiplier: f32Multiplier used
min_threshold: f32Min clamp value
max_threshold: f32Max clamp value
median_gap: f32Median gap from statistics
computed_raw: f32Computed value before clamping (median * multiplier)
computed_final: f32Final clamped value
used_bimodal: boolWhether bimodal detection was used
reason: StringReason string from analyzer
Trait Implementations§
Source§impl Clone for ThresholdComputation
impl Clone for ThresholdComputation
Source§fn clone(&self) -> ThresholdComputation
fn clone(&self) -> ThresholdComputation
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 ThresholdComputation
impl RefUnwindSafe for ThresholdComputation
impl Send for ThresholdComputation
impl Sync for ThresholdComputation
impl Unpin for ThresholdComputation
impl UnsafeUnpin for ThresholdComputation
impl UnwindSafe for ThresholdComputation
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,
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