pub fn at(&self, i: usize) -> Result<bool> {
        if i as u64 >= self.bit_count {
            return Err(anyhow!(
                "index {} out of bounds of letter sized {}",
                i,
                self.bit_count,
            ));
        }
        let b = i / 8;
        let o = i % 8;
        Ok(self.data[b] & BIT_HOLE_MASKS[o] > 0)
    }
/// Return whether the bit at given index is set.
///
/// Returns an error if the index is out of bounds.
Return whether the bit at given index is set.
Returns an error if the index is out of bounds.
Return whether the bit at given index is set . Returns an error if the index is out of bounds .
pub fn at(&self, i: usize) -> Result<bool> {
        if i as u64 >= self.bit_count {
            return Err(anyhow!(
                "index {} out of bounds of letter sized {}",
                i,
                self.bit_count,
            ));
        }
        let b = i / 8;
        let o = i % 8;
        Ok(self.data[b] & BIT_HOLE_MASKS[o] > 0)
    }
pub fn at ( & self , i : usize ) -> Result < bool > { if i as u64 >= self . bit_count { return Err ( anyhow ! ( " " i self bit_count ) ) ; } let b = i / 8 ; let o = i % 8 ; Ok ( self . data [ b ] & BIT_HOLE_MASKS [ o ] > 0 ) }
Return whether the bit at given index is set.
Return whether the bit at given index is set .
&self
i
usize
&self
i
usize