pub struct CursorMap<'a, K, V>where
K: 'a + Ord,
V: 'a,{ /* private fields */ }Implementations§
Source§impl<'a, K: Ord, V> CursorMap<'a, K, V>
impl<'a, K: Ord, V> CursorMap<'a, K, V>
pub fn move_next(&mut self)
pub fn move_index(&mut self, index: usize)
pub fn move_prev(&mut self)
pub fn key(&self) -> Option<&'a K>
pub fn value(&self) -> Option<&'a V>
pub fn key_value(&self) -> Option<(&'a K, &'a V)>
pub fn peek_next(&self) -> Option<(&'a K, &'a V)>
pub fn peek_index(&self, index: usize) -> Option<(&'a K, &'a V)>
pub fn peek_prev(&self) -> Option<(&'a K, &'a V)>
Auto Trait Implementations§
impl<'a, K, V> Freeze for CursorMap<'a, K, V>
impl<'a, K, V> RefUnwindSafe for CursorMap<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for CursorMap<'a, K, V>
impl<'a, K, V> Sync for CursorMap<'a, K, V>
impl<'a, K, V> Unpin for CursorMap<'a, K, V>
impl<'a, K, V> UnwindSafe for CursorMap<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more