Lines Matching defs:CursorMut
246 pub fn cursor_front_mut(&mut self) -> Option<CursorMut<'_, K, V>> {
253 CursorMut {
276 pub fn cursor_back_mut(&mut self) -> Option<CursorMut<'_, K, V>> {
283 CursorMut {
457 pub fn cursor_lower_bound_mut(&mut self, key: &K) -> Option<CursorMut<'_, K, V>>
466 CursorMut {
783 pub struct CursorMut<'a, K, V> {
789 /// variant of [`CursorMut`] that is basically providing read only access.
885 // SAFETY: The [`CursorMut`] has exclusive access to both `K` and `V`, so it is sufficient to
890 unsafe impl<'a, K: Send, V: Send> Send for CursorMut<'a, K, V> {}
892 // SAFETY: The [`CursorMut`] gives out immutable references to `K` and mutable references to `V`,
894 unsafe impl<'a, K: Sync, V: Sync> Sync for CursorMut<'a, K, V> {}
896 impl<'a, K, V> CursorMut<'a, K, V> {
1076 /// Direction for [`Cursor`] and [`CursorMut`] operations.