Struct bit_matrix::submatrix::BitSubMatrix
[−]
[src]
pub struct BitSubMatrix<'a> { // some fields omitted }
Immutable access to a range of matrix's rows.
Methods
impl<'a> BitSubMatrix<'a>
[src]
fn new(slice: &[Block], row_bits: usize) -> BitSubMatrix
Returns a new BitSubMatrix.
unsafe fn from_raw_parts(ptr: *const Block, rows: usize, row_bits: usize) -> Self
Forms a BitSubMatrix from a pointer and dimensions.
fn iter(&self) -> Map<Chunks<Block>, fn(&[Block]) -> &BitVecSlice>
Iterates over the matrix's rows in the form of mutable slices.
Trait Implementations
impl<'a> Index<usize> for BitSubMatrix<'a>
[src]
Returns the matrix's row in the form of a mutable slice.
type Output = BitVecSlice
The returned type after indexing
fn index(&self, row: usize) -> &BitVecSlice
The method for the indexing (Foo[Bar]
) operation