pub struct Entry<T, M> {
pub key_metadata: M,
pub value: T,
}
Expand description
Property set entry.
Fields§
§key_metadata: M
Property key metadata.
value: T
Property value.
Implementations§
Trait Implementations§
source§impl<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>,
source§impl<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,
source§impl<T, M, __T, __M> StrippedPartialEq<Entry<__T, __M>> for Entry<T, M>where
T: StrippedPartialEq<__T>,
impl<T, M, __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§
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
source§impl<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
§impl<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
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.