pub struct AlgorithmStats {
pub total_executions: u32,
pub average_duration: Duration,
pub total_duration: Duration,
}Expand description
Algorithm performance statistics
Fields§
§total_executions: u32Total executions
average_duration: DurationAverage duration
total_duration: DurationTotal duration
Trait Implementations§
Source§impl Clone for AlgorithmStats
impl Clone for AlgorithmStats
Source§fn clone(&self) -> AlgorithmStats
fn clone(&self) -> AlgorithmStats
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 AlgorithmStats
impl RefUnwindSafe for AlgorithmStats
impl Send for AlgorithmStats
impl Sync for AlgorithmStats
impl Unpin for AlgorithmStats
impl UnsafeUnpin for AlgorithmStats
impl UnwindSafe for AlgorithmStats
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