pub trait AgastFeatureDetectorTraitConst: Feature2DTraitConst {
// Required method
fn as_raw_AgastFeatureDetector(&self) -> *const c_void;
// Provided methods
fn get_threshold(&self) -> Result<i32> { ... }
fn get_nonmax_suppression(&self) -> Result<bool> { ... }
fn get_type(&self) -> Result<AgastFeatureDetector_DetectorType> { ... }
fn get_default_name(&self) -> Result<String> { ... }
}
Expand description
Constant methods for crate::features2d::AgastFeatureDetector
Required Methods§
fn as_raw_AgastFeatureDetector(&self) -> *const c_void
Provided Methods§
fn get_threshold(&self) -> Result<i32>
fn get_nonmax_suppression(&self) -> Result<bool>
fn get_type(&self) -> Result<AgastFeatureDetector_DetectorType>
fn get_default_name(&self) -> Result<String>
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.