Lines Matching refs:Option
246 pub fn cursor_front(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_front()
261 pub fn cursor_back(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_back()
291 ) -> Result<Option<RBTreeNode<K, V>>> { in try_create_and_insert()
301 pub fn insert(&mut self, node: RBTreeNode<K, V>) -> Option<RBTreeNode<K, V>> { in insert()
373 pub fn find_mut(&mut self, key: &K) -> Option<OccupiedEntry<'_, K, V>> { in find_mut()
381 pub fn get(&self, key: &K) -> Option<&V> { in get()
401 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { in get_mut()
408 pub fn remove_node(&mut self, key: &K) -> Option<RBTreeNode<K, V>> { in remove_node()
415 pub fn remove(&mut self, key: &K) -> Option<V> { in remove()
424 pub fn cursor_lower_bound(&mut self, key: &K) -> Option<Cursor<'_, K, V>> in cursor_lower_bound()
429 let mut best_match: Option<NonNull<Node<K, V>>> = None; in cursor_lower_bound()
765 pub fn remove_current(self) -> (Option<Self>, RBTreeNode<K, V>) { in remove_current()
789 pub fn remove_prev(&mut self) -> Option<RBTreeNode<K, V>> { in remove_prev()
794 pub fn remove_next(&mut self) -> Option<RBTreeNode<K, V>> { in remove_next()
798 fn remove_neighbor(&mut self, direction: Direction) -> Option<RBTreeNode<K, V>> { in remove_neighbor()
815 pub fn move_prev(self) -> Option<Self> { in move_prev()
820 pub fn move_next(self) -> Option<Self> { in move_next()
824 fn mv(self, direction: Direction) -> Option<Self> { in mv()
834 pub fn peek_prev(&self) -> Option<(&K, &V)> { in peek_prev()
839 pub fn peek_next(&self) -> Option<(&K, &V)> { in peek_next()
843 fn peek(&self, direction: Direction) -> Option<(&K, &V)> { in peek()
853 pub fn peek_prev_mut(&mut self) -> Option<(&K, &mut V)> { in peek_prev_mut()
858 pub fn peek_next_mut(&mut self) -> Option<(&K, &mut V)> { in peek_next_mut()
862 fn peek_mut(&mut self, direction: Direction) -> Option<(&K, &mut V)> { in peek_mut()
871 fn get_neighbor_raw(&self, direction: Direction) -> Option<NonNull<bindings::rb_node>> { in get_neighbor_raw()
959 fn next(&mut self) -> Option<Self::Item> { in next()
994 fn next(&mut self) -> Option<Self::Item> { in next()
1014 fn next(&mut self) -> Option<Self::Item> { in next()