devela::_dep::bytemuck::allocation

Function cast_vec

pub fn cast_vec<A, B>(input: Vec<A>) -> Vec<B> 
where A: NoUninit, B: AnyBitPattern,
Available on crate feature dep_bytemuck only.
Expand description

As try_cast_vec, but unwraps for you.