pub struct Entry<T, M> {
pub key_metadata: M,
pub value: T,
}
Fields
key_metadata: M
value: T
Implementations
Trait Implementations
sourceimpl<T, M> PartialEq<Entry<T, M>> for Entry<T, M>where
T: PartialEq<T>,
M: PartialEq<M>,
impl<T, M> PartialEq<Entry<T, M>> for Entry<T, M>where
T: PartialEq<T>,
M: PartialEq<M>,
sourceimpl<T, M> StrippedHash for Entry<T, M>where
T: StrippedHash,
impl<T, M> StrippedHash for Entry<T, M>where
T: StrippedHash,
fn stripped_hash<H>(&self, state: &mut H)where
H: Hasher,
sourceimpl<T, M> StrippedPartialEq<Entry<T, M>> for Entry<T, M>where
T: StrippedPartialEq<T>,
impl<T, M> StrippedPartialEq<Entry<T, M>> for Entry<T, M>where
T: StrippedPartialEq<T>,
fn stripped_eq(&self, other: &Entry<T, M>) -> bool
impl<T, M> Eq for Entry<T, M>where
T: Eq,
M: Eq,
impl<T, M> StrippedEq for Entry<T, M>where
T: StrippedEq,
impl<T, M> StructuralEq for Entry<T, M>
impl<T, M> StructuralPartialEq for Entry<T, M>
Auto Trait Implementations
impl<T, M> RefUnwindSafe for Entry<T, M>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, M> Send for Entry<T, M>where
M: Send,
T: Send,
impl<T, M> Sync for Entry<T, M>where
M: Sync,
T: Sync,
impl<T, M> Unpin for Entry<T, M>where
M: Unpin,
T: Unpin,
impl<T, M> UnwindSafe for Entry<T, M>where
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.