pub struct LevelTimer { /* fields omitted */ }
Measure the time each level of a recursive algorithm takes that supports the Splitter trait.
Note that the number of elements in the returned Vec could be less than the height of the tree.
This can happen if the recursive algorithm does not recurse all the way to the leafs because it
deemed it not necessary.
Called to split this into two to be passed to the children.
Called to add the results of the recursive calls on the children.
Called at the start of the recursive call.
It is important to note that this gets called in other places besides in the final recursive call of a leaf. They may get called in a non leaf if its found that there is no more need to recurse further. Read more
Returns the "default value" for a type. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
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.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more