pub trait AgastFeatureDetectorTrait: AgastFeatureDetectorTraitConst + Feature2DTrait {
// Required method
fn as_raw_mut_AgastFeatureDetector(&mut self) -> *mut c_void;
// Provided methods
fn set_threshold(&mut self, threshold: i32) -> Result<()> { ... }
fn set_nonmax_suppression(&mut self, f: bool) -> Result<()> { ... }
fn set_type(&mut self, typ: AgastFeatureDetector_DetectorType) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::features2d::AgastFeatureDetector
Required Methods§
fn as_raw_mut_AgastFeatureDetector(&mut self) -> *mut c_void
Provided Methods§
fn set_threshold(&mut self, threshold: i32) -> Result<()>
fn set_nonmax_suppression(&mut self, f: bool) -> Result<()>
fn set_type(&mut self, typ: AgastFeatureDetector_DetectorType) -> 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.