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 duplicate 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 for IndexedLinkedHashMapValue<V>
impl<V: PartialEq> PartialEq for IndexedLinkedHashMapValue<V>
Source§fn eq(&self, other: &IndexedLinkedHashMapValue<V>) -> bool
fn eq(&self, other: &IndexedLinkedHashMapValue<V>) -> bool
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> Freeze for IndexedLinkedHashMapValue<V>where
V: Freeze,
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