LATCHTrait

Trait LATCHTrait 

Source
pub trait LATCHTrait: Feature2DTrait + LATCHTraitConst {
    // Required method
    fn as_raw_mut_LATCH(&mut self) -> *mut c_void;

    // Provided methods
    fn set_bytes(&mut self, bytes: i32) -> Result<()> { ... }
    fn set_rotation_invariance(
        &mut self,
        rotation_invariance: bool,
    ) -> Result<()> { ... }
    fn set_half_ss_dsize(&mut self, half_ssd_size: i32) -> Result<()> { ... }
    fn set_sigma(&mut self, sigma: f64) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::xfeatures2d::LATCH

Required Methods§

Provided Methods§

Source

fn set_bytes(&mut self, bytes: i32) -> Result<()>

Source

fn set_rotation_invariance(&mut self, rotation_invariance: bool) -> Result<()>

Source

fn set_half_ss_dsize(&mut self, half_ssd_size: i32) -> Result<()>

Source

fn set_sigma(&mut self, sigma: f64) -> 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§