(&mut self)
| 207 | |
| 208 | #[inline] |
| 209 | pub fn all_rows_f(&mut self) -> Result<&[f_pixel], Error> { |
| 210 | if self.f_pixels.is_some() { |
| 211 | return Ok(self.f_pixels.as_ref().unwrap()); // borrow-checker :( |
| 212 | } |
| 213 | self.prepare_iter(&mut temp_buf(self.width())?, false)?; |
| 214 | self.f_pixels.as_deref().ok_or(Error::Unsupported) |
| 215 | } |
| 216 | |
| 217 | /// Not recommended |
| 218 | #[cfg(feature = "_internal_c_ffi")] |
no test coverage detected