fn collect_bool(
len: usize,
neg: bool,
f: impl Fn(usize) -> bool,
) -> BooleanBuffer
Expand description
Invokes f
with values 0..len
collecting the boolean results into a new BooleanBuffer
This is similar to [MutableBuffer::collect_bool
] but with
the option to efficiently negate the result