Struct sparse_array::bitmap::BitmapIndex  
source · pub struct BitmapIndex(u128, u128);Tuple Fields§
§0: u128§1: u128Implementations§
source§impl BitmapIndex
 
impl BitmapIndex
pub fn new() -> Self
fn get_mask_and_part(&self, idx: u8) -> (u128, u8)
pub fn get_index(&self, idx: u8) -> bool
pub fn set_index(&mut self, idx: u8)
pub fn remove_index(&mut self, idx: u8)
pub fn get_real_index(&self, idx: u8) -> Option<u8>
pub fn is_empty(&self) -> bool
pub fn get_first_index(&self) -> Option<u8>
Trait Implementations§
source§impl Clone for BitmapIndex
 
impl Clone for BitmapIndex
source§fn clone(&self) -> BitmapIndex
 
fn clone(&self) -> BitmapIndex
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 BitmapIndex
 
impl Debug for BitmapIndex
source§impl PartialEq<BitmapIndex> for BitmapIndex
 
impl PartialEq<BitmapIndex> for BitmapIndex
source§fn eq(&self, other: &BitmapIndex) -> bool
 
fn eq(&self, other: &BitmapIndex) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for BitmapIndex
impl StructuralEq for BitmapIndex
impl StructuralPartialEq for BitmapIndex
Auto Trait Implementations§
impl RefUnwindSafe for BitmapIndex
impl Send for BitmapIndex
impl Sync for BitmapIndex
impl Unpin for BitmapIndex
impl UnwindSafe for BitmapIndex
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