Struct croaring_sys::roaring64_bulk_context_s
source · #[repr(C)]pub struct roaring64_bulk_context_s {
pub high_bytes: [u8; 6],
pub leaf: *mut roaring64_leaf_t,
}
Expand description
A bit of context usable with roaring64_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§
§high_bytes: [u8; 6]
§leaf: *mut roaring64_leaf_t
Trait Implementations§
source§impl Clone for roaring64_bulk_context_s
impl Clone for roaring64_bulk_context_s
source§fn clone(&self) -> roaring64_bulk_context_s
fn clone(&self) -> roaring64_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 roaring64_bulk_context_s
impl Debug for roaring64_bulk_context_s
impl Copy for roaring64_bulk_context_s
Auto Trait Implementations§
impl Freeze for roaring64_bulk_context_s
impl RefUnwindSafe for roaring64_bulk_context_s
impl !Send for roaring64_bulk_context_s
impl !Sync for roaring64_bulk_context_s
impl Unpin for roaring64_bulk_context_s
impl UnwindSafe for roaring64_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)