Trait BFMatcherTraitConst

Source
pub trait BFMatcherTraitConst: DescriptorMatcherTraitConst {
    // Required method
    fn as_raw_BFMatcher(&self) -> *const c_void;

    // Provided methods
    fn is_mask_supported(&self) -> Result<bool> { ... }
    fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>> { ... }
    fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>> { ... }
}
Expand description

Constant methods for crate::features2d::BFMatcher

Required Methods§

Provided Methods§

Source

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

Source

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

§C++ default parameters
  • empty_train_data: false
Source

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

§Note

This alternative version of BFMatcherTraitConst::clone function uses the following default values for its arguments:

  • empty_train_data: false

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.

Implementors§