[−][src]Struct bit_matrix::row::BitVecSlice
A slice of bit vector's blocks.
Methods
impl BitVecSlice[src]
pub fn new(slice: &[Block]) -> &Self[src]
Creates a new slice from a slice of blocks.
pub fn new_mut(slice: &mut [Block]) -> &mut Self[src]
Creates a new slice from a mutable slice of blocks.
ⓘImportant traits for Iter<'a>pub fn iter_bits(&self, len: usize) -> Iter[src]
ⓘImportant traits for Iter<'a>
Iterates over bits.
pub fn get(&self, bit: usize) -> bool[src]
Returns true if a bit is enabled in the bit vector slice, or false otherwise.
Trait Implementations
impl Deref for BitVecSlice[src]
impl DerefMut for BitVecSlice[src]
impl Index<usize> for BitVecSlice[src]
Returns true if a bit is enabled in the bit vector slice, or false otherwise.