pub struct Pair<K, O>(pub K, pub O)
where
K: Id;Tuple Fields§
§0: K§1: OTrait Implementations§
Source§impl<K, E, V> Collexetable<V> for Pair<K, E>where
K: Id,
E: Collexetable<V>,
impl<K, E, V> Collexetable<V> for Pair<K, E>where
K: Id,
E: Collexetable<V>,
fn collexate(&self) -> V
fn collexate_ref(&self) -> &V
fn collexate_mut(&mut self) -> &mut V
fn collex_cmp<O>(&self, other: &O) -> Orderingwhere
O: Collexetable<V>,
V: Ord,
fn collex_eq<O>(&self, other: &O) -> boolwhere
O: Collexetable<V>,
V: Eq,
fn collex_mut_eq<O>(&mut self, other: &mut O) -> boolwhere
O: Collexetable<V>,
V: Eq,
Source§impl<'de, K, O> Deserialize<'de> for Pair<K, O>
impl<'de, K, O> Deserialize<'de> for Pair<K, O>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<K, O: Ord> Ord for Pair<K, O>
impl<K, O: Ord> Ord for Pair<K, O>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<K, O: PartialOrd> PartialOrd for Pair<K, O>where
K: Id + PartialOrd,
impl<K, O: PartialOrd> PartialOrd for Pair<K, O>where
K: Id + PartialOrd,
impl<K, O: Copy> Copy for Pair<K, O>
impl<K, O: Eq> Eq for Pair<K, O>
impl<K, O> StructuralPartialEq for Pair<K, O>where
K: Id,
Auto Trait Implementations§
impl<K, O> Freeze for Pair<K, O>
impl<K, O> RefUnwindSafe for Pair<K, O>where
K: RefUnwindSafe,
O: RefUnwindSafe,
impl<K, O> Send for Pair<K, O>
impl<K, O> Sync for Pair<K, O>
impl<K, O> Unpin for Pair<K, O>
impl<K, O> UnsafeUnpin for Pair<K, O>where
K: UnsafeUnpin,
O: UnsafeUnpin,
impl<K, O> UnwindSafe for Pair<K, O>where
K: UnwindSafe,
O: 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