pub struct _InputOutputArray { /* private fields */ }

Implementations§

Trait Implementations§

source§

impl Boxed for _InputOutputArray

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Drop for _InputOutputArray

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<_InputOutputArray> for _InputArray

source§

fn from(s: _InputOutputArray) -> Self

Converts to this type from the input type.
source§

impl From<_InputOutputArray> for _OutputArray

source§

fn from(s: _InputOutputArray) -> Self

Converts to this type from the input type.
source§

impl _InputArrayTrait for _InputOutputArray

source§

impl _InputArrayTraitConst for _InputOutputArray

source§

fn as_raw__InputArray(&self) -> *const c_void

source§

fn get_mat(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
source§

fn get_mat_(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
source§

fn get_umat(&self, idx: i32) -> Result<UMat>

C++ default parameters Read more
source§

fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>

source§

fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>

source§

fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>

source§

fn get_gpu_mat(&self) -> Result<GpuMat>

source§

fn get_o_gl_buffer(&self) -> Result<Buffer>

source§

fn get_flags(&self) -> Result<i32>

source§

fn get_obj(&self) -> Result<*mut c_void>

source§

fn get_sz(&self) -> Result<Size>

source§

fn kind(&self) -> Result<_InputArray_KindFlag>

source§

fn dims(&self, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn cols(&self, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn rows(&self, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn size(&self, i: i32) -> Result<Size>

C++ default parameters Read more
source§

fn sizend(&self, sz: &mut i32, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>

source§

fn total(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
source§

fn typ(&self, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn depth(&self, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn channels(&self, i: i32) -> Result<i32>

C++ default parameters Read more
source§

fn is_continuous(&self, i: i32) -> Result<bool>

C++ default parameters Read more
source§

fn is_submatrix(&self, i: i32) -> Result<bool>

C++ default parameters Read more
source§

fn empty(&self) -> Result<bool>

source§

fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>

source§

fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn offset(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
source§

fn step(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
source§

fn is_mat(&self) -> Result<bool>

source§

fn is_umat(&self) -> Result<bool>

source§

fn is_mat_vector(&self) -> Result<bool>

source§

fn is_umat_vector(&self) -> Result<bool>

source§

fn is_matx(&self) -> Result<bool>

source§

fn is_vector(&self) -> Result<bool>

source§

fn is_gpu_mat(&self) -> Result<bool>

source§

fn is_gpu_mat_vector(&self) -> Result<bool>

source§

impl _InputOutputArrayTrait for _InputOutputArray

source§

impl _InputOutputArrayTraitConst for _InputOutputArray

source§

impl _OutputArrayTrait for _InputOutputArray

source§

impl _OutputArrayTraitConst for _InputOutputArray

source§

fn as_raw__OutputArray(&self) -> *const c_void

source§

fn fixed_size(&self) -> Result<bool>

source§

fn fixed_type(&self) -> Result<bool>

source§

fn needed(&self) -> Result<bool>

source§

fn get_mat_ref(&self, i: i32) -> Result<Mat>

C++ default parameters Read more
source§

fn get_umat_ref(&self, i: i32) -> Result<UMat>

C++ default parameters Read more
source§

fn get_gpu_mat_ref(&self) -> Result<GpuMat>

source§

fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>>

source§

fn get_o_gl_buffer_ref(&self) -> Result<Buffer>

source§

fn get_host_mem_ref(&self) -> Result<HostMem>

source§

fn create_size( &self, sz: Size, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()>

C++ default parameters Read more
source§

fn create( &self, rows: i32, cols: i32, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()>

C++ default parameters Read more
source§

fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()>

C++ default parameters Read more
source§

unsafe fn create_same_size( &self, arr: &impl ToInputArray, mtype: i32 ) -> Result<()>

source§

fn release(&self) -> Result<()>

source§

fn clear(&self) -> Result<()>

source§

fn set_to( &self, value: &impl ToInputArray, mask: &impl ToInputArray ) -> Result<()>

C++ default parameters Read more
source§

fn assign(&self, u: &UMat) -> Result<()>

source§

fn assign_1(&self, m: &Mat) -> Result<()>

source§

fn assign_2(&self, v: &Vector<UMat>) -> Result<()>

source§

fn assign_3(&self, v: &Vector<Mat>) -> Result<()>

source§

fn move_(&self, u: &mut UMat) -> Result<()>

source§

fn move__1(&self, m: &mut Mat) -> Result<()>

source§

impl Send for _InputOutputArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToInputArray for Twhere T: _InputArrayTrait,

source§

impl<T> ToInputOutputArray for Twhere T: _InputOutputArrayTrait,

source§

impl<T> ToOutputArray for Twhere T: _OutputArrayTrait,

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.