pub struct ValidityVTableFromValidityHelper;
Expand description
An implementation of the ValidityVTable
for arrays that hold validity as a child array.
Trait Implementations§
Source§impl<V: VTable> ValidityVTable<V> for ValidityVTableFromValidityHelperwhere
V::Array: ValidityHelper,
impl<V: VTable> ValidityVTable<V> for ValidityVTableFromValidityHelperwhere
V::Array: ValidityHelper,
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 ValidityVTableFromValidityHelper
impl RefUnwindSafe for ValidityVTableFromValidityHelper
impl Send for ValidityVTableFromValidityHelper
impl Sync for ValidityVTableFromValidityHelper
impl Unpin for ValidityVTableFromValidityHelper
impl UnwindSafe for ValidityVTableFromValidityHelper
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