#[repr(align(128))]pub struct MatrixBlock([u64; 64]);Expand description
A contiguous 64 x 64 block of bits stored in row-major order.
Each limb represents one row of 64 bits. The 128-byte alignment ensures efficient SIMD operations and cache line alignment.
Tuple Fields§
§0: [u64; 64]Implementations§
Source§impl MatrixBlock
impl MatrixBlock
pub fn new(limbs: [u64; 64]) -> Self
pub fn iter(&self) -> impl Iterator<Item = &u64>
Sourcepub fn iter_mut(&mut self) -> impl Iterator<Item = &mut u64>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut u64>
Returns a mutable iterator over the limbs (rows) of this block.
pub(crate) fn limbs_ptr(&self) -> *const u64
pub(crate) fn limbs_mut_ptr(&mut self) -> *mut u64
Trait Implementations§
Source§impl Arbitrary for MatrixBlock
impl Arbitrary for MatrixBlock
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = BoxedStrategy<MatrixBlock>
type Strategy = BoxedStrategy<MatrixBlock>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
Source§impl Clone for MatrixBlock
impl Clone for MatrixBlock
Source§fn clone(&self) -> MatrixBlock
fn clone(&self) -> MatrixBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatrixBlock
impl Debug for MatrixBlock
Source§impl PartialEq for MatrixBlock
impl PartialEq for MatrixBlock
impl Copy for MatrixBlock
impl Eq for MatrixBlock
impl StructuralPartialEq for MatrixBlock
Auto Trait Implementations§
impl Freeze for MatrixBlock
impl RefUnwindSafe for MatrixBlock
impl Send for MatrixBlock
impl Sync for MatrixBlock
impl Unpin for MatrixBlock
impl UnwindSafe for MatrixBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more