pub trait CUDA_DescriptorMatcherTraitConst: AlgorithmTraitConst {
// Required method
fn as_raw_CUDA_DescriptorMatcher(&self) -> *const c_void;
// Provided methods
fn is_mask_supported(&self) -> Result<bool> { ... }
fn get_train_descriptors(&self) -> Result<Vector<GpuMat>> { ... }
fn empty(&self) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::cudafeatures2d::CUDA_DescriptorMatcher
Required Methods§
fn as_raw_CUDA_DescriptorMatcher(&self) -> *const c_void
Provided Methods§
Sourcefn is_mask_supported(&self) -> Result<bool>
fn is_mask_supported(&self) -> Result<bool>
Returns true if the descriptor matcher supports masking permissible matches.
Sourcefn get_train_descriptors(&self) -> Result<Vector<GpuMat>>
fn get_train_descriptors(&self) -> Result<Vector<GpuMat>>
Returns a constant link to the train descriptor collection.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.