pub trait ToOutputArray {
// Required method
fn output_array(&mut self) -> Result<BoxedRefMut<'_, _OutputArray>>;
}Expand description
Trait to serve as a replacement for OutputArray in C++ OpenCV
You can pass reference to the type implementing this trait everywhere where OpenCV API expects
OutputArray or OutputArrayOfArrays.
More info in OpenCV docs.