pub fn dyn_cast_array_iter<N>( array: &Array, ) -> Box<dyn Iterator<Item = Batch<N>>>where N: NativePType,