pub trait BoolArrayTrait: ArrayTrait {
    // Required methods
    fn invert(&self) -> VortexResult<Array>;
    fn maybe_null_indices_iter<'a>(
        &'a self,
    ) -> Box<dyn Iterator<Item = usize> + 'a>;
    fn maybe_null_slices_iter<'a>(
        &'a self,
    ) -> Box<dyn Iterator<Item = (usize, usize)> + 'a>;
    // Provided method
    fn true_count(&self) -> usize { ... }
}Required Methods§
Sourcefn invert(&self) -> VortexResult<Array>
 
fn invert(&self) -> VortexResult<Array>
Return a new inverted version of this array.
True -> False False -> True Null -> Null
Sourcefn maybe_null_indices_iter<'a>(&'a self) -> Box<dyn Iterator<Item = usize> + 'a>
 
fn maybe_null_indices_iter<'a>(&'a self) -> Box<dyn Iterator<Item = usize> + 'a>
An iterator over the sorted indices of set values in the underlying boolean array good to array with low number of set values.