pub struct ValidityVTableFromValiditySliceHelper;
Expand description
An implementation of the ValidityVTable
for arrays that hold an unsliced validity
and a slice into it.
Trait Implementations§
Source§impl<V: VTable> ValidityVTable<V> for ValidityVTableFromValiditySliceHelperwhere
V::Array: ValiditySliceHelper,
impl<V: VTable> ValidityVTable<V> for ValidityVTableFromValiditySliceHelperwhere
V::Array: ValiditySliceHelper,
fn is_valid(array: &V::Array, index: usize) -> VortexResult<bool>
fn all_valid(array: &V::Array) -> VortexResult<bool>
fn all_invalid(array: &V::Array) -> VortexResult<bool>
fn validity_mask(array: &V::Array) -> VortexResult<Mask>
Source§fn valid_count(array: &V::Array) -> VortexResult<usize>
fn valid_count(array: &V::Array) -> VortexResult<usize>
Returns the number of valid elements in the array. Read more
Source§fn invalid_count(array: &V::Array) -> VortexResult<usize>
fn invalid_count(array: &V::Array) -> VortexResult<usize>
Returns the number of invalid elements in the array. Read more
Auto Trait Implementations§
impl Freeze for ValidityVTableFromValiditySliceHelper
impl RefUnwindSafe for ValidityVTableFromValiditySliceHelper
impl Send for ValidityVTableFromValiditySliceHelper
impl Sync for ValidityVTableFromValiditySliceHelper
impl Unpin for ValidityVTableFromValiditySliceHelper
impl UnwindSafe for ValidityVTableFromValiditySliceHelper
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> 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