Trait FREAKTrait

Source
pub trait FREAKTrait: Feature2DTrait + FREAKTraitConst {
    // Required method
    fn as_raw_mut_FREAK(&mut self) -> *mut c_void;

    // Provided methods
    fn set_orientation_normalized(
        &mut self,
        orientation_normalized: bool,
    ) -> Result<()> { ... }
    fn set_scale_normalized(&mut self, scale_normalized: bool) -> Result<()> { ... }
    fn set_pattern_scale(&mut self, pattern_scale: f64) -> Result<()> { ... }
    fn set_n_octaves(&mut self, n_octaves: i32) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::xfeatures2d::FREAK

Required Methods§

Provided Methods§

Source

fn set_orientation_normalized( &mut self, orientation_normalized: bool, ) -> Result<()>

Source

fn set_scale_normalized(&mut self, scale_normalized: bool) -> Result<()>

Source

fn set_pattern_scale(&mut self, pattern_scale: f64) -> Result<()>

Source

fn set_n_octaves(&mut self, n_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.

Implementors§