bytemuck::allocation

Function cast_box

Source
pub fn cast_box<A: NoUninit, B: AnyBitPattern>(input: Box<A>) -> Box<B>
Expand description

As try_cast_box, but unwraps for you.