Total number of pixels (rows * cols). 总像素数(rows * cols)。
(&self)
| 118 | /// Total number of pixels (rows * cols). |
| 119 | /// 总像素数(rows * cols)。 |
| 120 | pub fn total(&self) -> usize { |
| 121 | (self.rows as usize) * (self.cols as usize) |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | impl Default for Mat { |
nothing calls this directly
no outgoing calls
no test coverage detected