pub struct RleMeta {
pub runs: u32,
pub num_rle_values: u32,
}Expand description
Metadata for RLE decoding TODO v2 optimizations:
- runs is identical to half the size of the associated array
num_rle_valuesis identical to the size of the sum of the first half of the array. Computing checked sum should not be too expensive.
Fields§
§runs: u32§num_rle_values: u32Implementations§
Trait Implementations§
impl Copy for RleMeta
impl StructuralPartialEq for RleMeta
Auto Trait Implementations§
impl Freeze for RleMeta
impl RefUnwindSafe for RleMeta
impl Send for RleMeta
impl Sync for RleMeta
impl Unpin for RleMeta
impl UnsafeUnpin for RleMeta
impl UnwindSafe for RleMeta
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