Trait KAZETrait

Source
pub trait KAZETrait: Feature2DTrait + KAZETraitConst {
    // Required method
    fn as_raw_mut_KAZE(&mut self) -> *mut c_void;

    // Provided methods
    fn set_extended(&mut self, extended: bool) -> Result<()> { ... }
    fn set_upright(&mut self, upright: bool) -> Result<()> { ... }
    fn set_threshold(&mut self, threshold: f64) -> Result<()> { ... }
    fn set_n_octaves(&mut self, octaves: i32) -> Result<()> { ... }
    fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()> { ... }
    fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::features2d::KAZE

Required Methods§

Provided Methods§

Source

fn set_extended(&mut self, extended: bool) -> Result<()>

Source

fn set_upright(&mut self, upright: bool) -> Result<()>

Source

fn set_threshold(&mut self, threshold: f64) -> Result<()>

Source

fn set_n_octaves(&mut self, octaves: i32) -> Result<()>

Source

fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>

Source

fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> 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.

Implementors§