pub struct ZeroCount {
pub num_zero: usize,
pub num_nonzero: usize,
}
Fields§
§num_zero: usize
§num_nonzero: usize
Trait Implementations§
Source§impl HybridRleGatherer<ZeroCount> for ZeroCountGatherer
impl HybridRleGatherer<ZeroCount> for ZeroCountGatherer
type Target = ZeroCount
fn target_reserve(&self, _target: &mut Self::Target, _n: usize)
fn target_num_elements(&self, target: &Self::Target) -> usize
fn hybridrle_to_target(&self, value: u32) -> ParquetResult<ZeroCount>
fn gather_one( &self, target: &mut Self::Target, value: ZeroCount, ) -> ParquetResult<()>
fn gather_repeated( &self, target: &mut Self::Target, value: ZeroCount, n: usize, ) -> ParquetResult<()>
fn gather_slice( &self, target: &mut Self::Target, source: &[u32], ) -> ParquetResult<()>
fn gather_chunk( &self, target: &mut Self::Target, source: &<u32 as Unpackable>::Unpacked, ) -> ParquetResult<()>
fn gather_bitpacked_all( &self, target: &mut Self::Target, decoder: Decoder<'_, u32>, ) -> ParquetResult<()>
fn gather_bitpacked_limited<'a>( &self, target: &mut Self::Target, decoder: Decoder<'a, u32>, limit: usize, ) -> ParquetResult<BufferedBitpacked<'a>>
fn gather_bitpacked<'a>( &self, target: &mut Self::Target, decoder: Decoder<'a, u32>, limit: Option<usize>, ) -> ParquetResult<(usize, Option<HybridRleBuffered<'a>>)>
impl Copy for ZeroCount
Auto Trait Implementations§
impl Freeze for ZeroCount
impl RefUnwindSafe for ZeroCount
impl Send for ZeroCount
impl Sync for ZeroCount
impl Unpin for ZeroCount
impl UnwindSafe for ZeroCount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more