Function bytemuck::allocation::cast_slice_box
source · pub fn cast_slice_box<A: NoUninit, B: AnyBitPattern>(
input: Box<[A]>
) -> Box<[B]>
Expand description
As try_cast_slice_box
, but unwraps for you.
pub fn cast_slice_box<A: NoUninit, B: AnyBitPattern>(
input: Box<[A]>
) -> Box<[B]>
As try_cast_slice_box
, but unwraps for you.