pub struct Row<'a, T, const GROUP: usize, const PACK: usize = 1> { /* private fields */ }Expand description
An immutable view of a single logical row in a block-transposed matrix.
Because the elements of a logical row are strided (not contiguous), this struct provides indexed access and iteration over the row’s elements.
Implementations§
Trait Implementations§
Source§impl<T: Copy, const GROUP: usize, const PACK: usize> Index<usize> for Row<'_, T, GROUP, PACK>
impl<T: Copy, const GROUP: usize, const PACK: usize> Index<usize> for Row<'_, T, GROUP, PACK>
impl<'a, T: Copy, const GROUP: usize, const PACK: usize> Copy for Row<'a, T, GROUP, PACK>
Auto Trait Implementations§
impl<'a, T, const GROUP: usize, const PACK: usize> Freeze for Row<'a, T, GROUP, PACK>
impl<'a, T, const GROUP: usize, const PACK: usize> RefUnwindSafe for Row<'a, T, GROUP, PACK>where
T: RefUnwindSafe,
impl<'a, T, const GROUP: usize, const PACK: usize> Send for Row<'a, T, GROUP, PACK>where
T: Sync,
impl<'a, T, const GROUP: usize, const PACK: usize> Sync for Row<'a, T, GROUP, PACK>where
T: Sync,
impl<'a, T, const GROUP: usize, const PACK: usize> Unpin for Row<'a, T, GROUP, PACK>
impl<'a, T, const GROUP: usize, const PACK: usize> UnsafeUnpin for Row<'a, T, GROUP, PACK>
impl<'a, T, const GROUP: usize, const PACK: usize> UnwindSafe for Row<'a, T, GROUP, PACK>where
T: RefUnwindSafe,
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,
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