Trait horned_functional::FromFunctional
source · [−]pub trait FromFunctional: Sized + FromPair {
fn from_ofn_ctx(s: &str, context: &Context<'_>) -> Result<Self>;
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.