pub unsafe fn to_primitive_vec<T, U>(iter: impl Iterator<Item = T>) -> *mut Uwhere Vec<U>: FromIterator<T>,