Enum parquet2::deserialize::HybridEncoded
source · pub enum HybridEncoded<'a> {
Bitmap(&'a [u8], usize),
Repeated(bool, usize),
}
Expand description
The decoding state of the hybrid-RLE decoder with a maximum definition level of 1
Variants§
Bitmap(&'a [u8], usize)
a bitmap
Repeated(bool, usize)
A repeated item. The first attribute corresponds to whether the value is set the second attribute corresponds to the number of repetitions.
Implementations§
Trait Implementations§
source§impl<'a> Clone for HybridEncoded<'a>
impl<'a> Clone for HybridEncoded<'a>
source§fn clone(&self) -> HybridEncoded<'a>
fn clone(&self) -> HybridEncoded<'a>
Returns a copy 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<'a> Debug for HybridEncoded<'a>
impl<'a> Debug for HybridEncoded<'a>
source§impl<'a> PartialEq for HybridEncoded<'a>
impl<'a> PartialEq for HybridEncoded<'a>
source§fn eq(&self, other: &HybridEncoded<'a>) -> bool
fn eq(&self, other: &HybridEncoded<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for HybridEncoded<'a>
impl<'a> Eq for HybridEncoded<'a>
impl<'a> StructuralPartialEq for HybridEncoded<'a>
Auto Trait Implementations§
impl<'a> Freeze for HybridEncoded<'a>
impl<'a> RefUnwindSafe for HybridEncoded<'a>
impl<'a> Send for HybridEncoded<'a>
impl<'a> Sync for HybridEncoded<'a>
impl<'a> Unpin for HybridEncoded<'a>
impl<'a> UnwindSafe for HybridEncoded<'a>
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