cast_box

Function cast_box 

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

As try_cast_box, but unwraps for you.