Trait TransientAreasSegmentationModuleTraitConst

Source
pub trait TransientAreasSegmentationModuleTraitConst: AlgorithmTraitConst {
    // Required method
    fn as_raw_TransientAreasSegmentationModule(&self) -> *const c_void;

    // Provided methods
    fn write(&self, fs: &str) -> Result<()> { ... }
    fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn write(&self, fs: &str) -> Result<()>

write xml/yml formated parameters information

§Parameters
  • fs: : the filename of the xml file that will be open and writen with formatted parameters information
Source

fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()>

write xml/yml formated parameters information

§Parameters
  • fs: : a cv::Filestorage object ready to be filled

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§