pub trait Node { type Key; fn height(&self) -> u32; fn leaf_key(&self) -> Self::Key; fn is_leaf(&self) -> bool; fn key_size_in_bits() -> usize { ... } }