LineMod_ColorGradientTraitConst

Trait LineMod_ColorGradientTraitConst 

Source
pub trait LineMod_ColorGradientTraitConst: LineMod_ModalityTraitConst {
    // Required method
    fn as_raw_LineMod_ColorGradient(&self) -> *const c_void;

    // Provided methods
    fn weak_threshold(&self) -> f32 { ... }
    fn num_features(&self) -> size_t { ... }
    fn strong_threshold(&self) -> f32 { ... }
    fn name(&self) -> Result<String> { ... }
    fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn weak_threshold(&self) -> f32

Source

fn num_features(&self) -> size_t

Source

fn strong_threshold(&self) -> f32

Source

fn name(&self) -> Result<String>

Source

fn write(&self, fs: &mut impl FileStorageTrait) -> 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§