pub struct Table<K, V>{
pub elements: Vec<Option<(K, V)>>,
/* private fields */
}
Expand description
Table
is a simple hash table implementation.
Fields§
§elements: Vec<Option<(K, V)>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Table<K, V>
impl<K, V> RefUnwindSafe for Table<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Table<K, V>
impl<K, V> Sync for Table<K, V>
impl<K, V> Unpin for Table<K, V>
impl<K, V> UnwindSafe for Table<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