Trait FlannBasedMatcherTraitConst

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

    // Provided methods
    fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()> { ... }
    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

Required Methods§

Provided Methods§

Source

fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

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 FlannBasedMatcherTraitConst::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§