Struct croaring_sys::roaring_bulk_context_s
source · #[repr(C)]pub struct roaring_bulk_context_s {
pub container: *mut c_void,
pub idx: c_int,
pub key: u16,
pub typecode: u8,
}
Expand description
A bit of context usable with roaring_bitmap_*_bulk()
functions
Should be initialized with {0}
(or memset()
to all zeros).
Callers should treat it as an opaque type.
A context may only be used with a single bitmap
(unless re-initialized to zero), and any modification to a bitmap
(other than modifications performed with _bulk()
functions with the context
passed) will invalidate any contexts associated with that bitmap.
Fields§
§container: *mut c_void
§idx: c_int
§key: u16
§typecode: u8
Trait Implementations§
source§impl Clone for roaring_bulk_context_s
impl Clone for roaring_bulk_context_s
source§fn clone(&self) -> roaring_bulk_context_s
fn clone(&self) -> roaring_bulk_context_s
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more