pub trait FlannBasedMatcherTraitConst: DescriptorMatcherTraitConst {
// Required method
fn as_raw_FlannBasedMatcher(&self) -> *const c_void;
// Provided methods
fn write(&self, unnamed: &mut FileStorage) -> 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
Constant methods for crate::features2d::FlannBasedMatcher
Required Methods§
fn as_raw_FlannBasedMatcher(&self) -> *const c_void
Provided Methods§
fn write(&self, unnamed: &mut FileStorage) -> Result<()>
fn is_mask_supported(&self) -> Result<bool>
sourcefn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
C++ default parameters
- empty_train_data: false
Object Safety§
This trait is not object safe.