#[repr(C)]pub struct BatchBlock<K, V>{ /* private fields */ }
Expand description
A block in a batch, that contains the key, the value and the index of the block in the original full batch.
Trait Implementations§
Source§impl<K, V> Clone for BatchBlock<K, V>
impl<K, V> Clone for BatchBlock<K, V>
Source§fn clone(&self) -> BatchBlock<K, V>
fn clone(&self) -> BatchBlock<K, V>
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<K, V> Cmov for BatchBlock<K, V>
impl<K, V> Cmov for BatchBlock<K, V>
Source§impl<K, V> Debug for BatchBlock<K, V>
impl<K, V> Debug for BatchBlock<K, V>
Source§impl<K, V> Default for BatchBlock<K, V>
impl<K, V> Default for BatchBlock<K, V>
Source§fn default() -> BatchBlock<K, V>
fn default() -> BatchBlock<K, V>
Returns the “default value” for a type. Read more
Source§impl<K, V> Ord for BatchBlock<K, V>
impl<K, V> Ord for BatchBlock<K, V>
Source§fn cmp(&self, other: &BatchBlock<K, V>) -> Ordering
fn cmp(&self, other: &BatchBlock<K, V>) -> 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<K, V> PartialEq for BatchBlock<K, V>
impl<K, V> PartialEq for BatchBlock<K, V>
Source§impl<K, V> PartialOrd for BatchBlock<K, V>
impl<K, V> PartialOrd for BatchBlock<K, V>
Source§impl<K, V> Zeroable for BatchBlock<K, V>
impl<K, V> Zeroable for BatchBlock<K, V>
impl<K, V> Copy for BatchBlock<K, V>
impl<K, V> Eq for BatchBlock<K, V>
impl<K, V> Pod for BatchBlock<K, V>
impl<K, V> StructuralPartialEq for BatchBlock<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for BatchBlock<K, V>
impl<K, V> RefUnwindSafe for BatchBlock<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for BatchBlock<K, V>
impl<K, V> Sync for BatchBlock<K, V>
impl<K, V> Unpin for BatchBlock<K, V>
impl<K, V> UnwindSafe for BatchBlock<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.