Struct opencv::optflow::GPCMatchingParams
source · #[repr(C)]pub struct GPCMatchingParams {
pub use_opencl: bool,
}Expand description
Class encapsulating matching parameters.
Fields§
§use_opencl: boolWhether to use OpenCL to speed up the matching.
Implementations§
source§impl GPCMatchingParams
impl GPCMatchingParams
sourcepub fn new(_use_opencl: bool) -> Result<GPCMatchingParams>
pub fn new(_use_opencl: bool) -> Result<GPCMatchingParams>
C++ default parameters
- _use_opencl: false
pub fn copy(params: GPCMatchingParams) -> Result<GPCMatchingParams>
Trait Implementations§
source§impl Clone for GPCMatchingParams
impl Clone for GPCMatchingParams
source§fn clone(&self) -> GPCMatchingParams
fn clone(&self) -> GPCMatchingParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GPCMatchingParams
impl Debug for GPCMatchingParams
source§impl PartialEq<GPCMatchingParams> for GPCMatchingParams
impl PartialEq<GPCMatchingParams> for GPCMatchingParams
source§fn eq(&self, other: &GPCMatchingParams) -> bool
fn eq(&self, other: &GPCMatchingParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.