Function bytemuck::allocation::cast_slice_arc
source ยท pub fn cast_slice_arc<A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern>(
input: Arc<[A]>,
) -> Arc<[B]>
Expand description
As try_cast_slice_arc
, but unwraps for you.