Struct succinct::RankSupport
[−]
[src]
pub struct RankSupport<'a, Block, BV: 'a + ?Sized> where Block: BlockType, BV: BitVector<Block> { // some fields omitted }
Add-on to BitVector
to support fast rank queries.
Construct with RankSupport::new
.
Methods
impl<'a, Block, BV: 'a + ?Sized> RankSupport<'a, Block, BV> where Block: BlockType, BV: BitVector<Block>
[src]
fn new(bits: &'a BV) -> Self
Creates a new rank support structure for the given bit vector.
Trait Implementations
impl<'a, Block: Debug, BV: Debug + 'a + ?Sized> Debug for RankSupport<'a, Block, BV> where Block: BlockType, BV: BitVector<Block>
[src]
impl<'a, Block: Clone, BV: Clone + 'a + ?Sized> Clone for RankSupport<'a, Block, BV> where Block: BlockType, BV: BitVector<Block>
[src]
fn clone(&self) -> RankSupport<'a, Block, BV>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more