[][src]Function reinterpret::reinterpret_vec

pub unsafe fn reinterpret_vec<T, S>(vec: Vec<T>) -> Vec<S>

Reinterpret a given Vec as a Vec of another type. This function checks that the resulting Vec is appropriately sized.