Struct libmdbx::ObjectLength
source · pub struct ObjectLength(pub usize);Expand description
If you don’t need the data itself, just its length.
Tuple Fields§
§0: usizeMethods from Deref<Target = usize>§
Trait Implementations§
source§impl Clone for ObjectLength
impl Clone for ObjectLength
source§fn clone(&self) -> ObjectLength
fn clone(&self) -> ObjectLength
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 Debug for ObjectLength
impl Debug for ObjectLength
source§impl Deref for ObjectLength
impl Deref for ObjectLength
source§impl DerefMut for ObjectLength
impl DerefMut for ObjectLength
source§impl Hash for ObjectLength
impl Hash for ObjectLength
source§impl Ord for ObjectLength
impl Ord for ObjectLength
source§fn cmp(&self, other: &ObjectLength) -> Ordering
fn cmp(&self, other: &ObjectLength) -> Ordering
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 PartialEq<ObjectLength> for ObjectLength
impl PartialEq<ObjectLength> for ObjectLength
source§fn eq(&self, other: &ObjectLength) -> bool
fn eq(&self, other: &ObjectLength) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ObjectLength> for ObjectLength
impl PartialOrd<ObjectLength> for ObjectLength
source§fn partial_cmp(&self, other: &ObjectLength) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectLength) -> Option<Ordering>
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<'tx> TableObject<'tx> for ObjectLength
impl<'tx> TableObject<'tx> for ObjectLength
impl Copy for ObjectLength
impl Eq for ObjectLength
impl StructuralEq for ObjectLength
impl StructuralPartialEq for ObjectLength
Auto Trait Implementations§
impl RefUnwindSafe for ObjectLength
impl Send for ObjectLength
impl Sync for ObjectLength
impl Unpin for ObjectLength
impl UnwindSafe for ObjectLength
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.