pub trait SIFTTrait: Feature2DTrait + SIFTTraitConst {
// Required method
fn as_raw_mut_SIFT(&mut self) -> *mut c_void;
// Provided methods
fn set_n_features(&mut self, max_features: i32) -> Result<()> { ... }
fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()> { ... }
fn set_contrast_threshold(&mut self, contrast_threshold: f64) -> Result<()> { ... }
fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()> { ... }
fn set_sigma(&mut self, sigma: f64) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::features2d::SIFT
Required Methods§
fn as_raw_mut_SIFT(&mut self) -> *mut c_void
Provided Methods§
fn set_n_features(&mut self, max_features: i32) -> Result<()>
fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()>
fn set_contrast_threshold(&mut self, contrast_threshold: f64) -> Result<()>
fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>
fn set_sigma(&mut self, sigma: f64) -> Result<()>
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.