ROADMAP v0.5.0 - Vec to iterator conversion for backward compatibility
(rows: Vec<Row>)
| 80 | /// Create a new VecRowIterator from a Vec<Row> |
| 81 | #[allow(dead_code)] // ROADMAP v0.5.0 - Vec to iterator conversion for backward compatibility |
| 82 | pub fn new(rows: Vec<Row>) -> Self { |
| 83 | let count = rows.len(); |
| 84 | Self { |
| 85 | rows: rows.into_iter(), |
| 86 | count, |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | impl Iterator for VecRowIterator { |