Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. struct NodePtr<K: Ord, V>(*mut RBTreeNode<K, V>);
  2. ...
  3. pub struct RBTree<K: Ord, V> {
  4. root: NodePtr<K, V>,
  5. ...
  6. }
  7. ...
  8. // in find_node_with_visitor()
  9. let mut temp = &self.root;
  10. let key = &(*temp.0).key;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement