macro_rules! slice_as_array_mut {
($slice:expr, [$t:ty ; $len:expr] ) => { ... };
}
Expand description
Convert a mutable slice to a mutable array.
slice_as_array_mut!(mutable_slice, [element_type; array_length]) -> Option<&mut [element_type; array_length]>