pub enum RleChunk {
RunLength(u16),
SkipLength(u16),
BitVector(u16),
Null,
}
Expand description
The various options for what a RLE chunk can be.
Variants§
RunLength(u16)
Run length where 1s are set. The least significant 14 bits contain the length of the run.
SkipLength(u16)
Run length where 0s are set. The least significant 14 bits contain the length of the run.
BitVector(u16)
The least significant 15 bits contain a bit mask of values. The value is read from most significat to the least significant bit.
Null
Null value. Should be skipped in most scenarios.
Trait Implementations§
impl Copy for RleChunk
impl Eq for RleChunk
impl StructuralPartialEq for RleChunk
Auto Trait Implementations§
impl Freeze for RleChunk
impl RefUnwindSafe for RleChunk
impl Send for RleChunk
impl Sync for RleChunk
impl Unpin for RleChunk
impl UnwindSafe for RleChunk
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