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