#[repr(transparent)]pub struct CmpKey<T: AsRef<[u8]> + ?Sized>(pub T);
Expand description
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
source§impl<T: AsRef<[u8]> + ?Sized> PartialEq<CmpKey<T>> for CmpKey<T>
impl<T: AsRef<[u8]> + ?Sized> PartialEq<CmpKey<T>> for CmpKey<T>
source§impl<T: AsRef<[u8]> + ?Sized> PartialOrd<CmpKey<T>> for CmpKey<T>
impl<T: AsRef<[u8]> + ?Sized> PartialOrd<CmpKey<T>> for CmpKey<T>
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<T: AsRef<[u8]> + ?Sized> PartialOrd<T> for CmpKey<T>
impl<T: AsRef<[u8]> + ?Sized> PartialOrd<T> for CmpKey<T>
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 more