message: Add as_untyped() and ToInputArray implementations for Mat_
diff: @@ -6,7 +6,7 @@ use std::{
  };
  use crate::{
  - core::{Mat, MatTrait},
  + core::{_InputArray, Mat, MatTrait, ToInputArray},
  Error,
  Result,
  traits::{Boxed, OpenCVType, OpenCVTypeArg, OpenCVTypeExternContainer},
  @@ -47,6 +47,11 @@ impl<T: DataType> Mat_<T> {
  self.into()
  }
  + #[inline]
  + pub fn as_untyped(&self) -> &Mat {
  + &self.inner
  + }
  +
  #[inline]
  pub fn as_raw_Mat_(&self) -> *const c_void {
  #![allow(non_snake_case)]
  @@ -114,6 +119,12 @@ impl<T> Boxed for Mat_<T> {
  }
  }
  +impl<T> ToInputArray for Mat_<T> {
  + fn input_array(&self) -> Result<_InputArray, Error> {
  + self.inner.input_array()
  + }
  +}
  +
  impl<T> OpenCVType<'_> for Mat_<T> {
  type Arg = Self;
  type ExternReceive = *mut c_void;
  