pub struct IndexedLinkedHashMapValue<V> {
pub index: Option<usize>,
pub value: V,
}Expand description
Stores an index for quick key lookup and the value.
Fields§
§index: Option<usize>§value: VTrait Implementations§
source§impl<V: Clone> Clone for IndexedLinkedHashMapValue<V>
impl<V: Clone> Clone for IndexedLinkedHashMapValue<V>
source§fn clone(&self) -> IndexedLinkedHashMapValue<V>
fn clone(&self) -> IndexedLinkedHashMapValue<V>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<V: PartialEq> PartialEq<IndexedLinkedHashMapValue<V>> for IndexedLinkedHashMapValue<V>
impl<V: PartialEq> PartialEq<IndexedLinkedHashMapValue<V>> for IndexedLinkedHashMapValue<V>
source§fn eq(&self, other: &IndexedLinkedHashMapValue<V>) -> bool
fn eq(&self, other: &IndexedLinkedHashMapValue<V>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<V: Copy> Copy for IndexedLinkedHashMapValue<V>
impl<V> StructuralPartialEq for IndexedLinkedHashMapValue<V>
Auto Trait Implementations§
impl<V> RefUnwindSafe for IndexedLinkedHashMapValue<V>where V: RefUnwindSafe,
impl<V> Send for IndexedLinkedHashMapValue<V>where V: Send,
impl<V> Sync for IndexedLinkedHashMapValue<V>where V: Sync,
impl<V> Unpin for IndexedLinkedHashMapValue<V>where V: Unpin,
impl<V> UnwindSafe for IndexedLinkedHashMapValue<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