bytemuck::allocation

Function 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.