pub trait FromFunctional: Sized + FromPair {
// Required method
fn from_ofn_ctx(s: &str, context: &Context<'_>) -> Result<Self>;
// Provided method
fn from_ofn(s: &str) -> Result<Self> { ... }
}Expand description
A trait for OWL elements that can be deserialized from OWL Functional syntax.
The deserialization will fail if the entirety of the input string cannot be deserialized into the declared type.
Required Methods§
fn from_ofn_ctx(s: &str, context: &Context<'_>) -> Result<Self>
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.