pub struct TreeStatsExt2 {
pub max_depth: usize,
pub node_count: usize,
pub leaf_count: usize,
pub max_branching: usize,
}Expand description
Computes tree statistics (depth, breadth, leaf count).
Fields§
§max_depth: usizeMaximum depth of the tree
node_count: usizeTotal number of nodes
leaf_count: usizeTotal number of leaves
max_branching: usizeMaximum branching factor seen
Trait Implementations§
Source§impl Clone for TreeStatsExt2
impl Clone for TreeStatsExt2
Source§fn clone(&self) -> TreeStatsExt2
fn clone(&self) -> TreeStatsExt2
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 TreeStatsExt2
impl Debug for TreeStatsExt2
Source§impl Default for TreeStatsExt2
impl Default for TreeStatsExt2
Source§fn default() -> TreeStatsExt2
fn default() -> TreeStatsExt2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TreeStatsExt2
impl RefUnwindSafe for TreeStatsExt2
impl Send for TreeStatsExt2
impl Sync for TreeStatsExt2
impl Unpin for TreeStatsExt2
impl UnsafeUnpin for TreeStatsExt2
impl UnwindSafe for TreeStatsExt2
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