Access the raw pixel data as a mutable byte slice. 以可变字节切片形式访问原始像素数据。
(&mut self)
| 88 | /// Access the raw pixel data as a mutable byte slice. |
| 89 | /// 以可变字节切片形式访问原始像素数据。 |
| 90 | pub fn data_mut(&mut self) -> &mut [u8] { |
| 91 | &mut self.data |
| 92 | } |
| 93 | |
| 94 | /// Image height (number of rows). |
| 95 | /// 图像高度(行数)。 |
no outgoing calls
no test coverage detected