Access the raw pixel data as a byte slice. 以字节切片形式访问原始像素数据。
(&self)
| 82 | /// Access the raw pixel data as a byte slice. |
| 83 | /// 以字节切片形式访问原始像素数据。 |
| 84 | pub fn data(&self) -> &[u8] { |
| 85 | &self.data |
| 86 | } |
| 87 | |
| 88 | /// Access the raw pixel data as a mutable byte slice. |
| 89 | /// 以可变字节切片形式访问原始像素数据。 |
no outgoing calls
no test coverage detected