pub trait ToInputOutputArray {
// Required method
fn input_output_array(
&mut self,
) -> Result<BoxedRefMut<'_, _InputOutputArray>>;
}Expand description
Trait to serve as a replacement for InputOutputArray in C++ OpenCV
You can pass reference to the type implementing this trait everywhere where OpenCV API expects
InputOutputArray or InputOutputArrayOfArrays.
For more info see comments for ToInputArray and ToOutputArray.