pub trait ImgHashBaseTraitConst: AlgorithmTraitConst {
// Required method
fn as_raw_ImgHashBase(&self) -> *const c_void;
// Provided method
fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64> { ... }
}
Expand description
Constant methods for crate::img_hash::ImgHashBase
Required Methods§
fn as_raw_ImgHashBase(&self) -> *const c_void
Provided Methods§
Sourcefn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>
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.