Function croaring_sys::roaring64_bitmap_iterate
source ยท pub unsafe extern "C" fn roaring64_bitmap_iterate(
r: *const roaring64_bitmap_t,
iterator: roaring_iterator64,
ptr: *mut c_void,
) -> bool
Expand description
Iterate over the bitmap elements. The function iterator
is called once for
all the values with ptr
(can be NULL) as the second parameter of each call.
roaring_iterator64
is simply a pointer to a function that returns a bool
and takes (uint64_t, void*)
as inputs. True means that the iteration should
continue, while false means that it should stop.
Returns true if the roaring64_iterator
returned true throughout (so that
all data points were necessarily visited).
Iteration is ordered from the smallest to the largest elements.