pub struct SkipList<K, V> { /* private fields */ }
Implementations
sourceimpl<K: Ord, V> SkipList<K, V>
impl<K: Ord, V> SkipList<K, V>
pub fn get(&self, k: &K) -> Option<&V>
pub fn insert(&mut self, k: K, v: V) -> Option<V>
pub fn delete(&mut self, k: &K) -> Option<V>
pub fn iter(&self) -> Iter<'_, K, V>ⓘNotable traits for Iter<'a, K, V>impl<'a, K, V> Iterator for Iter<'a, K, V> type Item = (&'a K, &'a V);
pub fn iter_mut(&self) -> IterMut<'_, K, V>ⓘNotable traits for IterMut<'a, K, V>impl<'a, K, V> Iterator for IterMut<'a, K, V> type Item = (&'a K, &'a mut V);
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for SkipList<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> !Send for SkipList<K, V>
impl<K, V> !Sync for SkipList<K, V>
impl<K, V> Unpin for SkipList<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for SkipList<K, V> where
K: UnwindSafe + RefUnwindSafe,
V: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more