pub struct StackArray2D<T: 'static, const N: usize> { /* private fields */ }Implementations§
Source§impl<T, const N: usize> StackArray2D<T, N>
impl<T, const N: usize> StackArray2D<T, N>
pub fn new(b0: RangeInclusive<i32>, b1: RangeInclusive<i32>) -> Self
Trait Implementations§
Source§impl<T, const N: usize> ArrayOpsMut<T, [i32; 2]> for StackArray2D<T, N>
impl<T, const N: usize> ArrayOpsMut<T, [i32; 2]> for StackArray2D<T, N>
fn data_mut(&mut self) -> &mut [T]
fn first_mut(&mut self) -> &mut T
fn as_slice_mut(&mut self) -> &mut [T]
fn subarray_mut(&mut self, index: I) -> &mut [T]
fn iter_mut(&mut self) -> impl Iterator<Item = &mut T>
fn get_disjoint_mut<const N: usize>( &mut self, indices: [I; N], ) -> Result<[&mut T; N], GetDisjointMutError>
Source§fn get_disjoint_slices_mut<const N: usize>(
&mut self,
indices: [I; N],
) -> Result<[&mut [T]; N], GetDisjointMutError>
fn get_disjoint_slices_mut<const N: usize>( &mut self, indices: [I; N], ) -> Result<[&mut [T]; N], GetDisjointMutError>
Get slices starting at the given indices, each as large as possible without
overlapping.
Auto Trait Implementations§
impl<T, const N: usize> Freeze for StackArray2D<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for StackArray2D<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for StackArray2D<T, N>where
T: Send,
impl<T, const N: usize> Sync for StackArray2D<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for StackArray2D<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for StackArray2D<T, N>where
T: 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