Trait VGGTrait

Source
pub trait VGGTrait: Feature2DTrait + VGGTraitConst {
    // Required method
    fn as_raw_mut_VGG(&mut self) -> *mut c_void;

    // Provided methods
    fn set_sigma(&mut self, isigma: f32) -> Result<()> { ... }
    fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()> { ... }
    fn set_use_scale_orientation(
        &mut self,
        use_scale_orientation: bool,
    ) -> Result<()> { ... }
    fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()> { ... }
    fn set_use_normalize_descriptor(
        &mut self,
        dsc_normalize: bool,
    ) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::xfeatures2d::VGG

Required Methods§

Provided Methods§

Source

fn set_sigma(&mut self, isigma: f32) -> Result<()>

Source

fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()>

Source

fn set_use_scale_orientation( &mut self, use_scale_orientation: bool, ) -> Result<()>

Source

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

Source

fn set_use_normalize_descriptor(&mut self, dsc_normalize: bool) -> 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§