#[repr(align(64))]pub struct BitMatrix<V, const L: usize>(pub [V; L]);
Expand description
A wrapper to force 64 byte alignment. This does mean that some small matrices will be suboptimally layed out when multiple if them are stored together.
Tuple Fields§
§0: [V; L]
Trait Implementations§
source§impl<V: PartialEq, const L: usize> PartialEq for BitMatrix<V, L>
impl<V: PartialEq, const L: usize> PartialEq for BitMatrix<V, L>
impl<V: Copy, const L: usize> Copy for BitMatrix<V, L>
impl<V: Eq, const L: usize> Eq for BitMatrix<V, L>
impl<V, const L: usize> StructuralEq for BitMatrix<V, L>
impl<V, const L: usize> StructuralPartialEq for BitMatrix<V, L>
Auto Trait Implementations§
impl<V, const L: usize> RefUnwindSafe for BitMatrix<V, L>where V: RefUnwindSafe,
impl<V, const L: usize> Send for BitMatrix<V, L>where V: Send,
impl<V, const L: usize> Sync for BitMatrix<V, L>where V: Sync,
impl<V, const L: usize> Unpin for BitMatrix<V, L>where V: Unpin,
impl<V, const L: usize> UnwindSafe for BitMatrix<V, L>where V: 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