Struct croaring_sys::roaring_uint32_iterator_s
source · #[repr(C)]pub struct roaring_uint32_iterator_s {
pub parent: *const roaring_bitmap_t,
pub container: *const c_void,
pub typecode: u8,
pub container_index: i32,
pub highbits: u32,
pub container_it: roaring_container_iterator_t,
pub current_value: u32,
pub has_value: bool,
}
Expand description
A struct used to keep iterator state. Users should only access
current_value
and has_value
, the rest of the type should be treated as
opaque.
Fields§
§parent: *const roaring_bitmap_t
§container: *const c_void
§typecode: u8
§container_index: i32
§highbits: u32
§container_it: roaring_container_iterator_t
§current_value: u32
§has_value: bool
Trait Implementations§
source§impl Clone for roaring_uint32_iterator_s
impl Clone for roaring_uint32_iterator_s
source§fn clone(&self) -> roaring_uint32_iterator_s
fn clone(&self) -> roaring_uint32_iterator_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_uint32_iterator_s
impl Debug for roaring_uint32_iterator_s
impl Copy for roaring_uint32_iterator_s
Auto Trait Implementations§
impl Freeze for roaring_uint32_iterator_s
impl RefUnwindSafe for roaring_uint32_iterator_s
impl !Send for roaring_uint32_iterator_s
impl !Sync for roaring_uint32_iterator_s
impl Unpin for roaring_uint32_iterator_s
impl UnwindSafe for roaring_uint32_iterator_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
)