Returns `true` if this Mat contains no data. 如果此 Mat 不包含数据则返回 `true`。
(&self)
| 76 | /// Returns `true` if this Mat contains no data. |
| 77 | /// 如果此 Mat 不包含数据则返回 `true`。 |
| 78 | pub fn is_empty(&self) -> bool { |
| 79 | self.data.is_empty() |
| 80 | } |
| 81 | |
| 82 | /// Access the raw pixel data as a byte slice. |
| 83 | /// 以字节切片形式访问原始像素数据。 |
no outgoing calls
no test coverage detected