(&self)
| 133 | |
| 134 | impl<T> RowBitmap<'_, T> { |
| 135 | pub fn rows(&self) -> impl Iterator<Item = &[T]> { |
| 136 | let width = self.width; |
| 137 | self.rows.iter().map(move |row| { |
| 138 | unsafe { std::slice::from_raw_parts(row.0, width) } |
| 139 | }) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | enum MutCow<'a, T: ?Sized> { |