[−][src]Struct ternary_tree::Stats
Contains various metrics describing the tree: its nodes, keys and values. Mostly used for tuning and debugging purpose.
dist[n].matchesnumber of values reached by traversing nmiddlelinks (the number of keys of lenght n)dist[n].sidesnumber of values reached by traversing nleftormiddlelinks (those links may indicate that the tree is not well balanced)dist[n].depthnumber of values whose total depth (middle,leftandrightlinks) is nkey_len.minlength of the shortest key inserted in the treekey_len.maxlength of the longest key inserted in the treecount.nodestotal number of nodes in the treecount.valuesnumber of nodes which store a value (same as len)bytes.nodebyte size of a node (including the fixed size of a value, but excluding heap allocated memory of this value)bytes.totaltotal number of bytes allocated for nodes (count.nodes*bytes.node)
Fields
dist: Vec<DistStat>key_len: KeyLenStatcount: CountStatbytes: BytesStatTrait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,