pub struct Key<'k> { /* private fields */ }
Expand description
A key in a structured key-value pair.
Implementations§
Trait Implementations§
source§impl<'k> Ord for Key<'k>
impl<'k> Ord for Key<'k>
source§impl<'k> PartialEq for Key<'k>
impl<'k> PartialEq for Key<'k>
source§impl<'k> PartialOrd for Key<'k>
impl<'k> PartialOrd for Key<'k>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'k> Eq for Key<'k>
impl<'k> StructuralEq for Key<'k>
impl<'k> StructuralPartialEq for Key<'k>
Auto Trait Implementations§
impl<'k> RefUnwindSafe for Key<'k>
impl<'k> Send for Key<'k>
impl<'k> Sync for Key<'k>
impl<'k> Unpin for Key<'k>
impl<'k> UnwindSafe for Key<'k>
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