Struct priority_matrix::entry::OwnedEntry
source · pub struct OwnedEntry<R, C, W> {
pub row: R,
pub column: C,
pub weight: W,
}
Fields§
§row: R
§column: C
§weight: W
Trait Implementations§
source§impl<R: Clone, C: Clone, W: Clone> Clone for OwnedEntry<R, C, W>
impl<R: Clone, C: Clone, W: Clone> Clone for OwnedEntry<R, C, W>
source§fn clone(&self) -> OwnedEntry<R, C, W>
fn clone(&self) -> OwnedEntry<R, C, W>
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<R: PartialEq, C: PartialEq, W: PartialEq> PartialEq<OwnedEntry<R, C, W>> for OwnedEntry<R, C, W>
impl<R: PartialEq, C: PartialEq, W: PartialEq> PartialEq<OwnedEntry<R, C, W>> for OwnedEntry<R, C, W>
source§fn eq(&self, other: &OwnedEntry<R, C, W>) -> bool
fn eq(&self, other: &OwnedEntry<R, C, W>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<R: Eq, C: Eq, W: Eq> Eq for OwnedEntry<R, C, W>
impl<R, C, W> StructuralEq for OwnedEntry<R, C, W>
impl<R, C, W> StructuralPartialEq for OwnedEntry<R, C, W>
Auto Trait Implementations§
impl<R, C, W> RefUnwindSafe for OwnedEntry<R, C, W>where C: RefUnwindSafe, R: RefUnwindSafe, W: RefUnwindSafe,
impl<R, C, W> Send for OwnedEntry<R, C, W>where C: Send, R: Send, W: Send,
impl<R, C, W> Sync for OwnedEntry<R, C, W>where C: Sync, R: Sync, W: Sync,
impl<R, C, W> Unpin for OwnedEntry<R, C, W>where C: Unpin, R: Unpin, W: Unpin,
impl<R, C, W> UnwindSafe for OwnedEntry<R, C, W>where C: UnwindSafe, R: UnwindSafe, W: UnwindSafe,
Blanket Implementations§
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.