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.