polars_arrow::bitmap

Function binary_assign

Source
pub fn binary_assign<T: BitChunk, F>(
    lhs: &mut MutableBitmap,
    rhs: &Bitmap,
    op: F,
)
where F: Fn(T, T) -> T,
Expand description

Apply a bitwise binary operation to a MutableBitmap.

This function can be used for operations like &= to a MutableBitmap.

ยงPanics

This function panics iff lhs.len() != rhs.len()`