pub trait CircularArrayIndexMut<'a, const N: usize, T: 'a> {
// Required methods
fn get_mut(&mut self, index: [usize; N]) -> &mut T;
fn get_mut_raw(&mut self, index: [usize; N]) -> &mut T;
}
Expand description
Methods for retrieving mutable references to elements of the array.
Required Methods§
Sourcefn get_mut(&mut self, index: [usize; N]) -> &mut T
fn get_mut(&mut self, index: [usize; N]) -> &mut T
Get a mutable reference to the element at the given index, aligned to the offset.
Sourcefn get_mut_raw(&mut self, index: [usize; N]) -> &mut T
fn get_mut_raw(&mut self, index: [usize; N]) -> &mut T
Get a mutable reference to the element at the given index.