pub struct ItemWithValue<T, V> { /* private fields */ }Expand description
An item and a value that goes with it (ItemWithValue<TObject, TValue>): equal when both
parts are.
Implementations§
Trait Implementations§
impl<T: Copy, V: Copy> Copy for ItemWithValue<T, V>
impl<T: Eq, V: Eq> Eq for ItemWithValue<T, V>
impl<T: PartialEq, V: PartialEq> StructuralPartialEq for ItemWithValue<T, V>
Auto Trait Implementations§
impl<T, V> Freeze for ItemWithValue<T, V>
impl<T, V> RefUnwindSafe for ItemWithValue<T, V>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> Send for ItemWithValue<T, V>
impl<T, V> Sync for ItemWithValue<T, V>
impl<T, V> Unpin for ItemWithValue<T, V>
impl<T, V> UnsafeUnpin for ItemWithValue<T, V>where
T: UnsafeUnpin,
V: UnsafeUnpin,
impl<T, V> UnwindSafe for ItemWithValue<T, V>where
T: 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