bytemuck::allocation

Function cast_vec

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

As try_cast_vec, but unwraps for you.