[−][src]Struct bit_matrix::submatrix::BitSubMatrix
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]
ptr: *const Block,
rows: usize,
row_bits: usize
) -> Self
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.
fn index(&self, row: usize) -> &BitVecSlice[src]
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,