Trait GPCTreeTraitConst

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

    // Provided methods
    fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()> { ... }
    fn find_leaf_for_patch(
        &self,
        descr: &impl GPCPatchDescriptorTraitConst,
    ) -> Result<u32> { ... }
    fn equals(&self, t: &impl GPCTreeTraitConst) -> Result<bool> { ... }
    fn get_descriptor_type(&self) -> Result<i32> { ... }
}
Expand description

Constant methods for crate::optflow::GPCTree

Required Methods§

Provided Methods§

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§