[][src]Struct bit_matrix::submatrix::BitSubMatrix

pub struct BitSubMatrix<'a> { /* fields omitted */ }

Immutable access to a range of matrix's rows.

Methods

impl<'a> BitSubMatrix<'a>[src]

pub fn new(slice: &[Block], row_bits: usize) -> BitSubMatrix[src]

Returns a new BitSubMatrix.

pub unsafe fn from_raw_parts(
    ptr: *const Block,
    rows: usize,
    row_bits: usize
) -> Self
[src]

Forms a BitSubMatrix from a pointer and dimensions.

pub fn iter(&self) -> Map<Chunks<Block>, fn(_: &[Block]) -> &BitVecSlice>[src]

Iterates over the matrix's rows in the form of mutable slices.

Trait Implementations

impl<'a> Debug for BitSubMatrix<'a>[src]

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.

Auto Trait Implementations

impl<'a> Unpin for BitSubMatrix<'a>

impl<'a> Send for BitSubMatrix<'a>

impl<'a> Sync for BitSubMatrix<'a>

impl<'a> UnwindSafe for BitSubMatrix<'a>

impl<'a> RefUnwindSafe for BitSubMatrix<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]