fn copy_to_masked(&self, m: &mut dyn core::ToOutputArray, mask: &dyn core::ToInputArray) -> Result<()> {
		output_array_arg!(m);
		input_array_arg!(mask);
		unsafe { sys::cv_Mat_copyTo_const_const__OutputArrayX_const__InputArrayX(self.as_raw_Mat(), m.as_raw__OutputArray(), mask.as_raw__InputArray()) }.into_result()
	}
/// Copies the matrix to another one.
/// 
/// The method copies the matrix data to another matrix. Before copying the data, the method invokes :
/// ```ignore
///    m.create(this->size(), this->type());
/// ```
/// 
/// so that the destination matrix is reallocated if needed. While m.copyTo(m); works flawlessly, the
/// function does not handle the case of a partial overlap between the source and the destination
/// matrices.
/// 
/// When the operation mask is specified, if the Mat::create call shown above reallocates the matrix,
/// the newly allocated matrix is initialized with all zeros before copying the data.
/// ## Parameters
/// * m: Destination matrix. If it does not have a proper size or type before the operation, it is
/// reallocated.
/// 
/// ## Overloaded parameters
/// 
/// * m: Destination matrix. If it does not have a proper size or type before the operation, it is
///    reallocated.
/// * mask: Operation mask of the same size as \*this. Its non-zero elements indicate which matrix
///    elements need to be copied. The mask has to be of type CV_8U and can have 1 or multiple channels.
Copies the matrix to another one.
The method copies the matrix data to another matrix.

so that the destination matrix is reallocated if needed. While m.copyTo(m); works flawlessly, the
function does not handle the case of a partial overlap between the source and the destination
matrices.

When the operation mask is specified, if the Mat::create call shown above reallocates the matrix,
the newly allocated matrix is initialized with all zeros before copying the data.
Copies the matrix to another one . The method copies the matrix data to another matrix . so that the destination matrix is reallocated if needed . While m . copyTo ( m ) ; works flawlessly the function does not handle the case of a partial overlap between the source and the destination matrices . When the operation mask is specified if the Mat :: create call shown above reallocates the matrix the newly allocated matrix is initialized with all zeros before copying the data .
fn copy_to_masked(&self, m: &mut dyn core::ToOutputArray, mask: &dyn core::ToInputArray) -> Result<()> {
		output_array_arg!(m);
		input_array_arg!(mask);
		unsafe { sys::cv_Mat_copyTo_const_const__OutputArrayX_const__InputArrayX(self.as_raw_Mat(), m.as_raw__OutputArray(), mask.as_raw__InputArray()) }.into_result()
	}
fn copy_to_masked ( & self , m : & mut dyn core :: ToOutputArray , mask : & dyn core :: ToInputArray ) -> Result < ( ) > { output_array_arg ! ( m ) ; input_array_arg ! ( mask ) ; unsafe { sys :: cv_Mat_copyTo_const_const__OutputArrayX_const__InputArrayX ( self . as_raw_Mat ( ) , m . as_raw__OutputArray ( ) , mask . as_raw__InputArray ( ) ) } . into_result ( ) }
Copies the matrix to another one.
Copies the matrix to another one .
&self
m
&mut dyn core::ToOutputArray
mask
&dyn core::ToInputArray
overloaded parameters
Destination matrix. If it does not have a proper size or type before the operation, it is
reallocated.
mask: Operation mask of the same size as \*this. Its non-zero elements indicate which matrix
elements need to be copied. The mask has to be of type CV_8U and can have 1 or multiple channels.
Destination matrix . If it does not have a proper size or type before the operation it is reallocated . mask : Operation mask of the same size as \ * this . Its non - zero elements indicate which matrix elements need to be copied . The mask has to be of type CV_8U and can have 1 or multiple channels .