pub struct BitMatrix<R, C>where
R: Idx,
C: Idx,{ /* private fields */ }
Expand description
A fixed-size 2D bit matrix type with a dense representation.
R
and C
are index types used to identify rows and columns respectively;
typically newtyped usize
wrappers, but they can also just be usize
.
All operations that involve a row and/or column index will panic if the index exceeds the relevant bound.
Auto Trait Implementations§
impl<R, C> RefUnwindSafe for BitMatrix<R, C>where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, C> Send for BitMatrix<R, C>
impl<R, C> Sync for BitMatrix<R, C>
impl<R, C> Unpin for BitMatrix<R, C>
impl<R, C> UnwindSafe for BitMatrix<R, C>where
C: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more