Function cast_slice_box
pub fn cast_slice_box<A, B>(input: Box<[A]>) -> Box<[B]>where
A: NoUninit,
B: AnyBitPattern,
Available on crate feature
dep_bytemuck
only.Expand description
As try_cast_slice_box
, but unwraps for you.