polars_arrow::bitmap

Function unary_assign

Source
pub fn unary_assign<T: BitChunk, F: Fn(T) -> T>(
    bitmap: &mut MutableBitmap,
    op: F,
)
Expand description

Applies a function to every bit of this MutableBitmap in chunks

This function can be for operations like ! to a MutableBitmap.