pub enum DetectionStrengthBand {
Clear = 0,
Marginal = 1,
Degraded = 2,
Critical = 3,
}Expand description
Operator-facing coarse strength band (for dashboard colour coding).
Variants§
Clear = 0
No detection — green.
Marginal = 1
Ambiguous / low-margin — yellow.
Degraded = 2
Stress / degradation detected — amber.
Critical = 3
Clear structural fault — red.
Implementations§
Source§impl DetectionStrengthBand
impl DetectionStrengthBand
Sourcepub fn from_class(class: DetectabilityClass) -> Self
pub fn from_class(class: DetectabilityClass) -> Self
Derive from a DetectabilityClass.
Trait Implementations§
Source§impl Clone for DetectionStrengthBand
impl Clone for DetectionStrengthBand
Source§fn clone(&self) -> DetectionStrengthBand
fn clone(&self) -> DetectionStrengthBand
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 DetectionStrengthBand
impl Debug for DetectionStrengthBand
Source§impl Ord for DetectionStrengthBand
impl Ord for DetectionStrengthBand
Source§fn cmp(&self, other: &DetectionStrengthBand) -> Ordering
fn cmp(&self, other: &DetectionStrengthBand) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DetectionStrengthBand
impl PartialEq for DetectionStrengthBand
Source§impl PartialOrd for DetectionStrengthBand
impl PartialOrd for DetectionStrengthBand
impl Copy for DetectionStrengthBand
impl Eq for DetectionStrengthBand
impl StructuralPartialEq for DetectionStrengthBand
Auto Trait Implementations§
impl Freeze for DetectionStrengthBand
impl RefUnwindSafe for DetectionStrengthBand
impl Send for DetectionStrengthBand
impl Sync for DetectionStrengthBand
impl Unpin for DetectionStrengthBand
impl UnsafeUnpin for DetectionStrengthBand
impl UnwindSafe for DetectionStrengthBand
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