pub trait TreeNodeLike<K>where K: Eq,{ // Required methods fn key(&self) -> K; fn parent(&self) -> K; }
Tree should get key and parent