Function croaring_sys::roaring_uint32_iterator_previous

source ·
pub unsafe extern "C" fn roaring_uint32_iterator_previous(
    it: *mut roaring_uint32_iterator_t
) -> bool
Expand description

Decrement the iterator. If there’s a new value, then it->has_value is true. The new value is in it->current_value. Values are traversed in decreasing order. For convenience, returns it->has_value.

Once it->has_value is false, roaring_uint32_iterator_previous should not be called on the iterator again. Calling roaring_uint32_iterator_advance is allowed.