pub struct Statistics {
pub number_of_particles: usize,
pub max_level: usize,
pub number_of_leafs: usize,
pub number_of_keys: usize,
pub creation_time: Duration,
pub minimum_number_of_particles_in_leaf: usize,
pub maximum_number_of_particles_in_leaf: usize,
pub average_number_of_particles_in_leaf: f64,
}
Expand description
A structure that stores various statistics for a tree.
Fields§
§number_of_particles: usize
§max_level: usize
§number_of_leafs: usize
§number_of_keys: usize
§creation_time: Duration
§minimum_number_of_particles_in_leaf: usize
§maximum_number_of_particles_in_leaf: usize
§average_number_of_particles_in_leaf: f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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> 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