pub trait MatTrait {
// Required methods
fn rows(&self) -> i32;
fn cols(&self) -> i32;
fn size(&self) -> Size;
fn mat_type(&self) -> MatType;
fn channels(&self) -> i32;
fn is_empty(&self) -> bool;
}
Expand description
Trait for Mat-like objects