Utility trait implemented only on arrays of fixed size
This trait can be used to implement other traits on fixed-size arrays without causing much metadata bloat.
The trait is marked unsafe in order to restrict implementors to fixed-size arrays. User of this trait can assume that implementors have the exact layout in memory of a fixed size array (for example, for unsafe initialization).
fn as_slice(&self) -> &[T]
Converts the array to immutable slice
fn as_mut_slice(&mut self) -> &mut [T]
Converts the array to mutable slice