[][src]Function bytemuck::allocation::cast_box

pub fn cast_box<A: Pod, B: Pod>(input: Box<A>) -> Box<B>

As try_cast_box, but unwraps for you.