lokacore
pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B]
Cast &[T] into &[U].
&[T]
&[U]
This is try_cast_slice with an unwrap.
try_cast_slice