pub fn insert(&mut self, slot_count: u16) -> usize {
        let proportion = NonZeroU16::new(slot_count).expect("Time slot count is zero.");
        self.info.insert(TimeEntry {
            proportion,
            sum: C::default(),
            //above_threshold: false,
        })
    }
/// Insert entry to timing group with specific number of time slots and obtain its key.
///
/// # Panics
/// Panics if time slot count argument is zero.
Insert entry to timing group with specific number of time slots and obtain its key.
Insert entry to timing group with specific number of time slots and obtain its key .
pub fn insert(&mut self, slot_count: u16) -> usize {
        let proportion = NonZeroU16::new(slot_count).expect("Time slot count is zero.");
        self.info.insert(TimeEntry {
            proportion,
            sum: C::default(),
            //above_threshold: false,
        })
    }
pub fn insert ( & mut self , slot_count : u16 ) -> usize { let proportion = NonZeroU16 :: new ( slot_count ) . expect ( " " ) ; self . info . insert ( TimeEntry { proportion , sum : C :: default ( ) , //above_threshold: false, } ) }
Insert entry to timing group with specific number of time slots and obtain its key.
Insert entry to timing group with specific number of time slots and obtain its key .
&mut self
slot_count
u16
&mut self
slot_count
u16
panics
Panics if time slot count argument is zero.
Panics if time slot count argument is zero .