Type Definition alloc::collections::btree::node::BoxedNode

source ·
type BoxedNode<K, V> = NonNull<LeafNode<K, V>>;
Expand description

A managed, non-null pointer to a node. This is either an owned pointer to LeafNode<K, V> or an owned pointer to InternalNode<K, V>.

However, BoxedNode contains no information as to which of the two types of nodes it actually contains, and, partially due to this lack of information, is not a separate type and has no destructor.