Function bytemuck::allocation::cast_vec [−][src]
pub fn cast_vec<A: Pod, B: Pod>(input: Vec<A>) -> Vec<B>
Expand description
As try_cast_vec
, but unwraps for you.
pub fn cast_vec<A: Pod, B: Pod>(input: Vec<A>) -> Vec<B>
As try_cast_vec
, but unwraps for you.