message: use generics for InputOutputArray conversion
diff: @@ -60,7 +60,7 @@ impl<T: _InputOutputArrayTrait> ToInputArray for T {
  }
  }
  -impl ToOutputArray for _InputOutputArray {
  +impl<T: _InputOutputArrayTrait> ToOutputArray for T {
  fn output_array(&mut self) -> Result<_OutputArray> {
  let me = self.as_raw__InputOutputArray();
  cpp!(unsafe [me as "cv::_InputOutputArray*"] -> sys::cv_return_value_const_void_X as "cv_return_value_const_void_X" {
  @@ -72,7 +72,7 @@ impl ToOutputArray for _InputOutputArray {
  }
  }
  -impl ToInputOutputArray for _InputOutputArray {
  +impl<T: _InputOutputArrayTrait> ToInputOutputArray for T {
  fn input_output_array(&mut self) -> Result<_InputOutputArray> {
  let me = self.as_raw__InputOutputArray();
  cpp!(unsafe [me as "cv::_InputOutputArray*"] -> sys::cv_return_value_const_void_X as "cv_return_value_const_void_X" {
  