Trait opencv::core::ToOutputArray [−][src]
pub trait ToOutputArray { fn output_array(&mut self) -> Result<_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.
Required methods
fn output_array(&mut self) -> Result<_OutputArray>
Implementors
impl<T: ValidMatxType, A: SizedArray<T>> ToOutputArray for &mut Matx<T, A> where
Matx<T, A>: MatxExtern<T, A>,
impl<T: ValidMatxType, A: SizedArray<T>> ToOutputArray for Matx<T, A> where
Self: MatxExtern<T, A>,