[][src]Trait sunshine_util::traits::ConsistentThresholdStructure

pub trait ConsistentThresholdStructure {
    fn is_percentage_threshold(&self) -> bool;
fn is_count_threshold(&self) -> bool;
fn has_consistent_structure(&self) -> bool; }

Checks that the ThresholdConfig that impls this method has both fields with the same ThresholdType variant

Required methods

Loading content...

Implementors

impl<Signal: From<u32> + Copy, FineArithmetic: PerThing + Copy> ConsistentThresholdStructure for ThresholdConfig<Signal, FineArithmetic>[src]

Loading content...