#[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: u8Trait 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 moreSource§impl Debug for roaring_bulk_context_s
impl Debug for roaring_bulk_context_s
impl Copy for roaring_bulk_context_s
Auto Trait Implementations§
impl Freeze for roaring_bulk_context_s
impl RefUnwindSafe for roaring_bulk_context_s
impl !Send for roaring_bulk_context_s
impl !Sync for roaring_bulk_context_s
impl Unpin for roaring_bulk_context_s
impl UnwindSafe for roaring_bulk_context_s
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more