[−][src]Trait fid::FID
A type that supports rank and support operations.
Required methods
Loading content...Provided methods
fn rank(&self, b: bool, i: u64) -> u64
Compute the number of bits in [0..i).
fn rank0(&self, i: u64) -> u64
Compute the number of 0s in [0..i).
fn rank1(&self, i: u64) -> u64
Compute the number of 0s in [0..i).
fn select(&self, b: bool, r: u64) -> u64
Locate the position of the (r + 1)-th bit.
fn select0(&self, r: u64) -> u64
Locate the position of the (r + 1)-th 0.
fn select1(&self, r: u64) -> u64
Locate the position of the (r + 1)-th 1.
fn get(&self, i: u64) -> bool
Returns the i-th bit.