pub trait ToInputArray {
// Required method
fn input_array(&self) -> Result<BoxedRef<'_, _InputArray>>;
}Expand description
Trait to serve as a replacement for InputArray in C++ OpenCV
You can pass references to the types implementing this trait everywhere where OpenCV API expects
InputArray or InputArrayOfArrays.
More info in OpenCV docs.