pub struct IndexedItem<T, K> { /* private fields */ }Expand description
An item of a sorted collection with its key and its index (IndexedItem<TObject, TKey>). Two
indexed items are equal when their keys, items and indexes are.
Implementations§
Source§impl<T, K> IndexedItem<T, K>
impl<T, K> IndexedItem<T, K>
Trait Implementations§
impl<T: Eq, K: Eq> Eq for IndexedItem<T, K>
impl<T: PartialEq, K: PartialEq> StructuralPartialEq for IndexedItem<T, K>
Auto Trait Implementations§
impl<T, K> Freeze for IndexedItem<T, K>
impl<T, K> RefUnwindSafe for IndexedItem<T, K>where
T: RefUnwindSafe,
K: RefUnwindSafe,
impl<T, K> Send for IndexedItem<T, K>
impl<T, K> Sync for IndexedItem<T, K>
impl<T, K> Unpin for IndexedItem<T, K>
impl<T, K> UnsafeUnpin for IndexedItem<T, K>where
T: UnsafeUnpin,
K: UnsafeUnpin,
impl<T, K> UnwindSafe for IndexedItem<T, K>where
T: UnwindSafe,
K: 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