Function bytemuck::allocation::cast_vec

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

As try_cast_vec, but unwraps for you.