pub trait StarDetectorTrait: Feature2DTrait + StarDetectorTraitConst {
// Required method
fn as_raw_mut_StarDetector(&mut self) -> *mut c_void;
// Provided methods
fn set_max_size(&mut self, _max_size: i32) -> Result<()> { ... }
fn set_response_threshold(&mut self, _response_threshold: i32) -> Result<()> { ... }
fn set_line_threshold_projected(
&mut self,
_line_threshold_projected: i32,
) -> Result<()> { ... }
fn set_line_threshold_binarized(
&mut self,
_line_threshold_binarized: i32,
) -> Result<()> { ... }
fn set_suppress_nonmax_size(
&mut self,
_suppress_nonmax_size: i32,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::xfeatures2d::StarDetector
Required Methods§
fn as_raw_mut_StarDetector(&mut self) -> *mut c_void
Provided Methods§
fn set_max_size(&mut self, _max_size: i32) -> Result<()>
fn set_response_threshold(&mut self, _response_threshold: i32) -> Result<()>
fn set_line_threshold_projected( &mut self, _line_threshold_projected: i32, ) -> Result<()>
fn set_line_threshold_binarized( &mut self, _line_threshold_binarized: i32, ) -> Result<()>
fn set_suppress_nonmax_size(&mut self, _suppress_nonmax_size: i32) -> 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.