Function bytemuck::allocation::cast_rc

source ยท
pub fn cast_rc<A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern>(
    input: Rc<A>
) -> Rc<B>
Available on crate feature extern_crate_alloc only.
Expand description

As try_cast_rc, but unwraps for you.