Trait LineMod_ColorGradientTrait

Source
pub trait LineMod_ColorGradientTrait: LineMod_ColorGradientTraitConst + LineMod_ModalityTrait {
    // Required method
    fn as_raw_mut_LineMod_ColorGradient(&mut self) -> *mut c_void;

    // Provided methods
    fn set_weak_threshold(&mut self, val: f32) { ... }
    fn set_num_features(&mut self, val: size_t) { ... }
    fn set_strong_threshold(&mut self, val: f32) { ... }
    fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_weak_threshold(&mut self, val: f32)

Source

fn set_num_features(&mut self, val: size_t)

Source

fn set_strong_threshold(&mut self, val: f32)

Source

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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§