Lines Matching refs:Direction
761 let prev = self.get_neighbor_raw(Direction::Prev); in remove_current()
762 let next = self.get_neighbor_raw(Direction::Next); in remove_current()
794 self.remove_neighbor(Direction::Prev) in remove_prev()
799 self.remove_neighbor(Direction::Next) in remove_next()
802 fn remove_neighbor(&mut self, direction: Direction) -> Option<RBTreeNode<K, V>> { in remove_neighbor()
820 self.mv(Direction::Prev) in move_prev()
825 self.mv(Direction::Next) in move_next()
828 fn mv(self, direction: Direction) -> Option<Self> { in mv()
839 self.peek(Direction::Prev) in peek_prev()
844 self.peek(Direction::Next) in peek_next()
847 fn peek(&self, direction: Direction) -> Option<(&K, &V)> { in peek()
858 self.peek_mut(Direction::Prev) in peek_prev_mut()
863 self.peek_mut(Direction::Next) in peek_next_mut()
866 fn peek_mut(&mut self, direction: Direction) -> Option<(&K, &mut V)> { in peek_mut()
875 fn get_neighbor_raw(&self, direction: Direction) -> Option<NonNull<bindings::rb_node>> { in get_neighbor_raw()
879 Direction::Prev => bindings::rb_prev(self.current.as_ptr()), in get_neighbor_raw()
880 Direction::Next => bindings::rb_next(self.current.as_ptr()), in get_neighbor_raw()
925 enum Direction { enum