pub struct ValHash { /* private fields */ }
Expand description
Provides a wrapper to allow us to build a hashmap with Value keys that hashes String and StringConst to the same hash. Note, this is public only to allow use of insert_id and remove_id which we need to work around borrowing issues.
Implementations§
Trait Implementations§
impl Copy for ValHash
impl Eq for ValHash
Auto Trait Implementations§
impl Freeze for ValHash
impl RefUnwindSafe for ValHash
impl Send for ValHash
impl Sync for ValHash
impl Unpin for ValHash
impl UnwindSafe for ValHash
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