pub struct AtomicBitmap { /* private fields */ }
Implementations§
Source§impl AtomicBitmap
impl AtomicBitmap
pub fn new(bit_count: usize) -> Self
pub fn to_indices_true(&self, mode: Mode) -> Vec<usize>
pub fn to_indices_false(&self, mode: Mode) -> Vec<usize>
pub fn check_batch(&self, handles: &[Handle], mode: Mode) -> bool
pub fn bit_capacity(&self) -> usize
pub fn capacity(&self) -> usize
pub fn set(&self, bit_index: usize, value: bool, mode: Mode)
pub fn get(&self, bit_index: usize, mode: Mode) -> Option<bool>
pub unsafe fn set_unchecked(&self, bit_index: usize, value: bool, mode: Mode)
pub unsafe fn get_unchecked(&self, bit_index: usize, mode: Mode) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AtomicBitmap
impl RefUnwindSafe for AtomicBitmap
impl Unpin for AtomicBitmap
impl UnwindSafe for AtomicBitmap
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