Function bytemuck::allocation::cast_rc
source · pub fn cast_rc<A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern>(
input: Rc<A>
) -> Rc<B>
Expand description
As try_cast_rc
, but unwraps for you.
pub fn cast_rc<A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern>(
input: Rc<A>
) -> Rc<B>
As try_cast_rc
, but unwraps for you.