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
sourceimpl Clone for roaring_bulk_context_s
impl Clone for roaring_bulk_context_s
sourcefn clone(&self) -> roaring_bulk_context_s
fn clone(&self) -> roaring_bulk_context_s
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for roaring_bulk_context_s
impl Debug for roaring_bulk_context_s
impl Copy for roaring_bulk_context_s
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more