Trait hi_sparse_bitset::BitSetInterface
source · pub trait BitSetInterface: BitSetBase + IntoIterator<Item = usize> + LevelMasksExt {
type BlockIter<'a>: BlockIterator
where Self: 'a;
type Iter<'a>: IndexIterator<Item = usize>
where Self: 'a;
type IntoBlockIter: BlockIterator;
// Required methods
fn block_iter(&self) -> Self::BlockIter<'_>;
fn iter(&self) -> Self::Iter<'_>;
fn into_block_iter(self) -> Self::IntoBlockIter;
fn contains(&self, index: usize) -> bool;
}Required Associated Types§
type BlockIter<'a>: BlockIterator where Self: 'a
type Iter<'a>: IndexIterator<Item = usize> where Self: 'a
type IntoBlockIter: BlockIterator
Required Methods§
fn block_iter(&self) -> Self::BlockIter<'_>
fn iter(&self) -> Self::Iter<'_>
fn into_block_iter(self) -> Self::IntoBlockIter
fn contains(&self, index: usize) -> bool
Object Safety§
This trait is not object safe.