pub struct BiMap<A: Hash + Eq + Clone, B: Hash + Eq + Clone> { /* private fields */ }Expand description
A bidirectional map between two types.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for BiMap<A, B>
impl<A, B> RefUnwindSafe for BiMap<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for BiMap<A, B>
impl<A, B> Sync for BiMap<A, B>
impl<A, B> Unpin for BiMap<A, B>
impl<A, B> UnsafeUnpin for BiMap<A, B>
impl<A, B> UnwindSafe for BiMap<A, B>where
A: UnwindSafe,
B: 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