pub struct IndexMap<V>(/* private fields */);Available on crate feature
index-map only.Expand description
The main IndexMap data-structure type.
This map type uses a HashSet to store the underlying items. The underlying items are wrapped in a custom struct, hidden from the public API, to workaround Rust broken coherence and WTF other stupid similar rules.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for IndexMap<V>
impl<V> RefUnwindSafe for IndexMap<V>where
V: RefUnwindSafe,
impl<V> Send for IndexMap<V>where
V: Send,
impl<V> Sync for IndexMap<V>where
V: Sync,
impl<V> Unpin for IndexMap<V>where
V: Unpin,
impl<V> UnwindSafe for IndexMap<V>where
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