Struct rs01_dict::Rs01DictGenerics
source · pub struct Rs01DictGenerics<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> { /* private fields */ }
Implementations§
source§impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
pub fn new(a: &[bool]) -> Self
pub fn rank1(&self, i: usize) -> usize
pub fn rank0(&self, i: usize) -> usize
pub fn select1(&self, i: usize) -> usize
pub fn select0(&self, i: usize) -> usize
pub fn count1(&self, range: impl RangeBounds<usize>) -> usize
pub fn count0(&self, range: impl RangeBounds<usize>) -> usize
Auto Trait Implementations§
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> Freeze for Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> RefUnwindSafe for Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> Send for Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> Sync for Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> Unpin for Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
impl<const RANK_LARGE_LEN: usize, const RANK_SMALL_LEN: usize, const RANK_BIT_PATTERNS: usize, const SELECT_SMALL_LEN: usize, const SELECT_LARGE_SPARSE_LEN: usize, const SELECT_LARGE_POPCNT: usize, const SELECT_LARGE_NODE_LEN: usize, const SELECT_LARGE_BRANCH: usize, const SELECT_WORD_BIT_PATTERNS: usize, const SELECT_TREE_BIT_PATTERNS: usize> UnwindSafe for Rs01DictGenerics<RANK_LARGE_LEN, RANK_SMALL_LEN, RANK_BIT_PATTERNS, SELECT_SMALL_LEN, SELECT_LARGE_SPARSE_LEN, SELECT_LARGE_POPCNT, SELECT_LARGE_NODE_LEN, SELECT_LARGE_BRANCH, SELECT_WORD_BIT_PATTERNS, SELECT_TREE_BIT_PATTERNS>
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