pub trait BOWKMeansTrainerTraitConst: BOWTrainerTraitConst {
// Required method
fn as_raw_BOWKMeansTrainer(&self) -> *const c_void;
// Provided methods
fn cluster(&self) -> Result<Mat> { ... }
fn cluster_with_descriptor(
&self,
descriptors: &impl MatTraitConst,
) -> Result<Mat> { ... }
}Expand description
Constant methods for crate::features2d::BOWKMeansTrainer
Required Methods§
fn as_raw_BOWKMeansTrainer(&self) -> *const c_void
Provided Methods§
fn cluster(&self) -> Result<Mat>
fn cluster_with_descriptor( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>
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.