pub struct VariableSizeKey { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for VariableSizeKey
impl Clone for VariableSizeKey
Source§fn clone(&self) -> VariableSizeKey
fn clone(&self) -> VariableSizeKey
Returns a duplicate 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 VariableSizeKey
impl Debug for VariableSizeKey
Source§impl From<&[u8]> for VariableSizeKey
impl From<&[u8]> for VariableSizeKey
Source§impl FromStr for VariableSizeKey
impl FromStr for VariableSizeKey
Source§impl Key for VariableSizeKey
impl Key for VariableSizeKey
fn prefix_before(&self, length: usize) -> &[u8] ⓘ
fn prefix_after(&self, start: usize) -> &[u8] ⓘ
fn at(&self, pos: usize) -> u8
fn len(&self) -> usize
fn longest_common_prefix(&self, key: &[u8]) -> usize
fn as_slice(&self) -> &[u8] ⓘ
fn extend(&self, other: &Self) -> Self
fn is_empty(&self) -> bool
Source§impl Ord for VariableSizeKey
impl Ord for VariableSizeKey
Source§fn cmp(&self, other: &VariableSizeKey) -> Ordering
fn cmp(&self, other: &VariableSizeKey) -> 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 for VariableSizeKey
impl PartialEq for VariableSizeKey
Source§impl PartialOrd for VariableSizeKey
impl PartialOrd for VariableSizeKey
impl Eq for VariableSizeKey
impl StructuralPartialEq for VariableSizeKey
Auto Trait Implementations§
impl Freeze for VariableSizeKey
impl RefUnwindSafe for VariableSizeKey
impl Send for VariableSizeKey
impl Sync for VariableSizeKey
impl Unpin for VariableSizeKey
impl UnwindSafe for VariableSizeKey
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