| 50 | // 二叉查找树定义 |
| 51 | #[derive(Debug,Clone)] |
| 52 | struct BST<T,U> { |
| 53 | key: Option<T>, |
| 54 | val: Option<U>, |
| 55 | left: Link<T,U>, |
| 56 | right: Link<T,U>, |
| 57 | } |
| 58 | |
| 59 | impl<T,U> BST<T,U> |
| 60 | where T: Copy + Ord + Debug, |
nothing calls this directly
no outgoing calls
no test coverage detected