pub trait SIFTTraitConst: Feature2DTraitConst {
// Required method
fn as_raw_SIFT(&self) -> *const c_void;
// Provided methods
fn get_default_name(&self) -> Result<String> { ... }
fn get_n_features(&self) -> Result<i32> { ... }
fn get_n_octave_layers(&self) -> Result<i32> { ... }
fn get_contrast_threshold(&self) -> Result<f64> { ... }
fn get_edge_threshold(&self) -> Result<f64> { ... }
fn get_sigma(&self) -> Result<f64> { ... }
}
Expand description
Constant methods for crate::features2d::SIFT
Required Methods§
fn as_raw_SIFT(&self) -> *const c_void
Provided Methods§
fn get_default_name(&self) -> Result<String>
fn get_n_features(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_contrast_threshold(&self) -> Result<f64>
fn get_edge_threshold(&self) -> Result<f64>
fn get_sigma(&self) -> 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.