pub struct Key<'k> { /* private fields */ }
Expand description
A key in a key-value.
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 moresource§impl<'a> Value for Key<'a>
impl<'a> Value for Key<'a>
source§fn stream<'sval, S: Stream<'sval> + ?Sized>(
&'sval self,
stream: &mut S
) -> Result
fn stream<'sval, S: Stream<'sval> + ?Sized>( &'sval self, stream: &mut S ) -> Result
Stream this value through a
Stream
.source§fn to_f32(&self) -> Option<f32>
fn to_f32(&self) -> Option<f32>
Try convert this value into a 32bit binary floating point number.
impl<'k> Eq 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