This commit is contained in:
Nathan Sobo
2021-04-14 12:38:16 -06:00
parent cbc1d83067
commit 36e6ed3aef
6 changed files with 329 additions and 7 deletions
+6
View File
@@ -375,6 +375,12 @@ impl<T: KeyedItem> SumTree<T> {
}
}
impl<T: Item> Default for SumTree<T> {
fn default() -> Self {
Self::new()
}
}
#[derive(Clone, Debug)]
pub enum Node<T: Item> {
Internal {