Struct succinct::Rank9 [] [src]

pub struct Rank9<Store> { /* fields omitted */ }

Vigna’s rank structure for fast rank queries over a BitVec.

Methods

impl<Store: BitVec<Block = u64>> Rank9<Store>
[src]

[src]

Creates a new rank9 structure.

Important traits for &'a mut W
[src]

Borrows a reference to the underlying bit store.

[src]

Returns the underlying bit store.

Trait Implementations

impl<Store: Clone> Clone for Rank9<Store>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Store: Debug> Debug for Rank9<Store>
[src]

[src]

Formats the value using the given formatter. Read more

impl<Store: BitVec<Block = u64>> BitRankSupport for Rank9<Store>
[src]

[src]

Returns the rank of 1 at the given position. Read more

[src]

Returns the rank of 0 at the given position. Read more

impl<Store: BitVec<Block = u64>> RankSupport for Rank9<Store>
[src]

The type of value to rank.

[src]

Returns the rank of the given value at a given position. Read more

[src]

The size of the vector being ranked.

impl<Store: BitVec<Block = u64>> BitVec for Rank9<Store>
[src]

The underlying block type used to store the bits of the vector.

[src]

The length of the slice in bits.

[src]

The length of the slice in blocks.

[src]

Gets the block at position Read more

[src]

Gets the bit at position Read more

[src]

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more

impl<Store: SpaceUsage> SpaceUsage for Rank9<Store>
[src]

[src]

Is the size of this type known statically? Read more

[src]

Calculates the heap portion of the size of an object. Read more

[src]

Computes the size of the receiver in bytes. Read more

[src]

Calculates the stack portion of the size of this type. Read more

Auto Trait Implementations

impl<Store> Send for Rank9<Store> where
    Store: Send

impl<Store> Sync for Rank9<Store> where
    Store: Sync