pub struct RemainderBucket {
pub total: u64,
pub cells: u32,
}Expand description
Dropped-mass summary of one level-8 parent bucket.
cells counts dropped FINE entries under the parent; total is their
summed posting count. Coarse entries are never dropped by the trim (they
always ship), so a remainder bucket always carries its own cell evidence:
total > 0 with cells == 0 is a corrupt shape and is rejected at
decode. total == 0 with cells == 0 is the trivial empty bucket.
Fields§
§total: u64Summed posting count of the mass dropped under this parent.
cells: u32Number of dropped fine entries under this parent.
Trait Implementations§
Source§impl Clone for RemainderBucket
impl Clone for RemainderBucket
Source§fn clone(&self) -> RemainderBucket
fn clone(&self) -> RemainderBucket
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 RemainderBucket
impl Debug for RemainderBucket
Source§impl Default for RemainderBucket
impl Default for RemainderBucket
Source§fn default() -> RemainderBucket
fn default() -> RemainderBucket
Returns the “default value” for a type. Read more
Source§impl PartialEq for RemainderBucket
impl PartialEq for RemainderBucket
impl Copy for RemainderBucket
impl Eq for RemainderBucket
impl StructuralPartialEq for RemainderBucket
Auto Trait Implementations§
impl Freeze for RemainderBucket
impl RefUnwindSafe for RemainderBucket
impl Send for RemainderBucket
impl Sync for RemainderBucket
impl Unpin for RemainderBucket
impl UnsafeUnpin for RemainderBucket
impl UnwindSafe for RemainderBucket
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