pub trait BoostDescTrait: Feature2DTrait + BoostDescTraitConst {
// Required method
fn as_raw_mut_BoostDesc(&mut self) -> *mut c_void;
// Provided methods
fn set_use_scale_orientation(
&mut self,
use_scale_orientation: bool,
) -> Result<()> { ... }
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::xfeatures2d::BoostDesc
Required Methods§
fn as_raw_mut_BoostDesc(&mut self) -> *mut c_void
Provided Methods§
fn set_use_scale_orientation( &mut self, use_scale_orientation: bool, ) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f32) -> 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.