Skip to main content

PropertyFunctionFactory

Trait PropertyFunctionFactory 

Source
pub trait PropertyFunctionFactory: Send + Sync {
    // Required method
    fn create(&self, iri: &str) -> Result<Box<dyn PropertyFunction>, OxirsError>;
}
Expand description

Factory for creating property function instances (Jena-compatible pattern).

Required Methods§

Source

fn create(&self, iri: &str) -> Result<Box<dyn PropertyFunction>, OxirsError>

Create a new property function instance for the given IRI.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§