pub struct BinarySearchST<K, V> { /* private fields */ }
Implementations§
Source§impl<K: PartialOrd, V> BinarySearchST<K, V>
impl<K: PartialOrd, V> BinarySearchST<K, V>
Trait Implementations§
Source§impl<K: PartialOrd, V> ST<K, V> for BinarySearchST<K, V>
impl<K: PartialOrd, V> ST<K, V> for BinarySearchST<K, V>
fn put(&mut self, key: K, value: V)
fn get(&self, key: &K) -> Option<&V>
fn delete(&mut self, key: &K)
fn is_empty(&self) -> bool
fn size(&self) -> usize
fn min(&self) -> Option<&K>
fn max(&self) -> Option<&K>
fn contains(&self, key: &K) -> bool
fn delete_min(&mut self)
fn delete_max(&mut self)
fn size_in(&self, lo: &K, hi: &K) -> usize
Auto Trait Implementations§
impl<K, V> Freeze for BinarySearchST<K, V>
impl<K, V> RefUnwindSafe for BinarySearchST<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for BinarySearchST<K, V>
impl<K, V> Sync for BinarySearchST<K, V>
impl<K, V> Unpin for BinarySearchST<K, V>
impl<K, V> UnwindSafe for BinarySearchST<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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