pub struct Counter { /* private fields */ }Implementations§
Trait Implementations§
source§impl Rustics for Counter
impl Rustics for Counter
fn record_i64(&mut self, sample: i64)
fn record_f64(&mut self, _sample: f64)
fn record_event(&mut self)
fn record_time(&mut self, _sample: i64)
fn record_interval(&mut self, _timer: &mut TimerBox)
fn name(&self) -> String
fn title(&self) -> String
fn class(&self) -> &str
fn count(&self) -> u64
fn log_mode(&self) -> isize
fn mean(&self) -> f64
fn standard_deviation(&self) -> f64
fn variance(&self) -> f64
fn skewness(&self) -> f64
fn kurtosis(&self) -> f64
fn int_extremes(&self) -> bool
fn min_i64(&self) -> i64
fn min_f64(&self) -> f64
fn max_i64(&self) -> i64
fn max_f64(&self) -> f64
fn precompute(&mut self)
fn clear(&mut self)
fn print(&self, printer: Option<PrinterBox>)
fn set_title(&mut self, title: &str)
fn set_id(&mut self, id: usize)
fn id(&self) -> usize
fn equals(&self, other: &dyn Rustics) -> bool
fn generic(&self) -> &dyn Any
fn histo_log_mode(&self) -> i64
Auto Trait Implementations§
impl Freeze for Counter
impl RefUnwindSafe for Counter
impl !Send for Counter
impl !Sync for Counter
impl Unpin for Counter
impl UnwindSafe for Counter
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