pub trait BRISKTrait: BRISKTraitConst + Feature2DTrait {
// Required method
fn as_raw_mut_BRISK(&mut self) -> *mut c_void;
// Provided methods
fn set_threshold(&mut self, threshold: i32) -> Result<()> { ... }
fn set_octaves(&mut self, octaves: i32) -> Result<()> { ... }
fn set_pattern_scale(&mut self, pattern_scale: f32) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::features2d::BRISK
Required Methods§
fn as_raw_mut_BRISK(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_threshold(&mut self, threshold: i32) -> Result<()>
fn set_threshold(&mut self, threshold: i32) -> Result<()>
Sourcefn set_octaves(&mut self, octaves: i32) -> Result<()>
fn set_octaves(&mut self, octaves: 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.