pub struct RleEncoder;Expand description
Run-Length encoder for Bool and Int64.
Format: count(u32) + has_bitmap(u8) + bitmap? + run_count(u32) + {value, run_len}*
- For Bool: value is 1 byte (0 or 1)
- For Int64: value is 8 bytes (i64 LE)
- run_len is u32 LE
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RleEncoder
impl RefUnwindSafe for RleEncoder
impl Send for RleEncoder
impl Sync for RleEncoder
impl Unpin for RleEncoder
impl UnsafeUnpin for RleEncoder
impl UnwindSafe for RleEncoder
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