pub fn cast_vec<A: NoUninit, B: AnyBitPattern>(input: Vec<A>) -> Vec<B>
As try_cast_vec, but unwraps for you.
try_cast_vec