pub struct AlgorithmStats {
pub insertions: u64,
pub deletions: u64,
pub queries: u64,
pub avg_update_time_us: f64,
pub avg_query_time_us: f64,
pub restructures: u64,
}Expand description
Statistics about algorithm performance
Fields§
§insertions: u64Total number of insertions
deletions: u64Total number of deletions
queries: u64Total number of queries
avg_update_time_us: f64Average update time in microseconds
avg_query_time_us: f64Average query time in microseconds
restructures: u64Number of tree restructures
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 moreSource§impl Debug for AlgorithmStats
impl Debug for AlgorithmStats
Source§impl Default for AlgorithmStats
impl Default for AlgorithmStats
Source§fn default() -> AlgorithmStats
fn default() -> AlgorithmStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlgorithmStats
impl RefUnwindSafe for AlgorithmStats
impl Send for AlgorithmStats
impl Sync for AlgorithmStats
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more