pub struct Bit4Rows4<'a> { /* private fields */ }Expand description
Four equally-sized packed rows whose addresses were validated before scoring.
Implementations§
Source§impl<'a> Bit4Rows4<'a>
impl<'a> Bit4Rows4<'a>
Sourcepub fn from_rows(
rows: [Bit4Row<'a>; 4],
row_bytes: usize,
) -> Result<Self, GatherShapeError>
pub fn from_rows( rows: [Bit4Row<'a>; 4], row_bytes: usize, ) -> Result<Self, GatherShapeError>
Validates four mapped-row handles once for the unchecked gather loop.
§Errors
Returns GatherShapeError::RowLength when any handle was constructed
for a different readable width. No alignment is required.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for Bit4Rows4<'a>
impl<'a> !Sync for Bit4Rows4<'a>
impl<'a> Freeze for Bit4Rows4<'a>
impl<'a> RefUnwindSafe for Bit4Rows4<'a>
impl<'a> Unpin for Bit4Rows4<'a>
impl<'a> UnsafeUnpin for Bit4Rows4<'a>
impl<'a> UnwindSafe for Bit4Rows4<'a>
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