• Home
  • Raw
  • Download

Lines Matching refs:Option

240     pub fn cursor_front(&mut self) -> Option<Cursor<'_, K, V>> {  in cursor_front()
255 pub fn cursor_back(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_back()
285 ) -> Result<Option<RBTreeNode<K, V>>> { in try_create_and_insert()
295 pub fn insert(&mut self, node: RBTreeNode<K, V>) -> Option<RBTreeNode<K, V>> { in insert()
367 pub fn find_mut(&mut self, key: &K) -> Option<OccupiedEntry<'_, K, V>> { in find_mut()
375 pub fn get(&self, key: &K) -> Option<&V> { in get()
395 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { in get_mut()
402 pub fn remove_node(&mut self, key: &K) -> Option<RBTreeNode<K, V>> { in remove_node()
409 pub fn remove(&mut self, key: &K) -> Option<V> { in remove()
418 pub fn cursor_lower_bound(&mut self, key: &K) -> Option<Cursor<'_, K, V>> in cursor_lower_bound()
423 let mut best_match: Option<NonNull<Node<K, V>>> = None; in cursor_lower_bound()
759 pub fn remove_current(self) -> (Option<Self>, RBTreeNode<K, V>) { in remove_current()
792 pub fn remove_prev(&mut self) -> Option<RBTreeNode<K, V>> { in remove_prev()
797 pub fn remove_next(&mut self) -> Option<RBTreeNode<K, V>> { in remove_next()
801 fn remove_neighbor(&mut self, direction: Direction) -> Option<RBTreeNode<K, V>> { in remove_neighbor()
818 pub fn move_prev(self) -> Option<Self> { in move_prev()
823 pub fn move_next(self) -> Option<Self> { in move_next()
827 fn mv(self, direction: Direction) -> Option<Self> { in mv()
837 pub fn peek_prev(&self) -> Option<(&K, &V)> { in peek_prev()
842 pub fn peek_next(&self) -> Option<(&K, &V)> { in peek_next()
846 fn peek(&self, direction: Direction) -> Option<(&K, &V)> { in peek()
856 pub fn peek_prev_mut(&mut self) -> Option<(&K, &mut V)> { in peek_prev_mut()
861 pub fn peek_next_mut(&mut self) -> Option<(&K, &mut V)> { in peek_next_mut()
865 fn peek_mut(&mut self, direction: Direction) -> Option<(&K, &mut V)> { in peek_mut()
874 fn get_neighbor_raw(&self, direction: Direction) -> Option<NonNull<bindings::rb_node>> { in get_neighbor_raw()
962 fn next(&mut self) -> Option<Self::Item> { in next()
997 fn next(&mut self) -> Option<Self::Item> { in next()
1017 fn next(&mut self) -> Option<Self::Item> { in next()