pub struct Map<'arena, K, V> { /* private fields */ }
Expand description
A map of keys K
to values V
. The map is built as a pseudo-random
binary tree with hashes of keys used for balancing the tree nodes.
All the nodes of the map are also linked to allow iteration in insertion order.
Implementations§
Source§impl<'arena, K, V> Map<'arena, K, V>
impl<'arena, K, V> Map<'arena, K, V>
Trait Implementations§
Source§impl<'arena, K, V: Copy> IntoIterator for Map<'arena, K, V>
impl<'arena, K, V: Copy> IntoIterator for Map<'arena, K, V>
impl<'arena, K: Copy, V: Copy> Copy for Map<'arena, K, V>
Auto Trait Implementations§
impl<'arena, K, V> Freeze for Map<'arena, K, V>
impl<'arena, K, V> RefUnwindSafe for Map<'arena, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'arena, K, V> Send for Map<'arena, K, V>
impl<'arena, K, V> !Sync for Map<'arena, K, V>
impl<'arena, K, V> Unpin for Map<'arena, K, V>
impl<'arena, K, V> UnwindSafe for Map<'arena, 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