pub trait IdInterpretation<I, B>: IriInterpretation<I> + BlankIdInterpretation<B> {
// Provided methods
fn id_interpretation(&self, id: &Id<I, B>) -> Option<Self::Resource> { ... }
fn lexical_id_interpretation(
&self,
vocabulary: &(impl IriVocabulary<Iri = I> + BlankIdVocabulary<BlankId = B>),
id: Id<&Iri, &BlankId>,
) -> Option<Self::Resource> { ... }
}
Expand description
Node identifier interpretation.
Provided Methods§
Sourcefn id_interpretation(&self, id: &Id<I, B>) -> Option<Self::Resource>
fn id_interpretation(&self, id: &Id<I, B>) -> Option<Self::Resource>
Returns the interpretation of the given node identifier, if any.
fn lexical_id_interpretation( &self, vocabulary: &(impl IriVocabulary<Iri = I> + BlankIdVocabulary<BlankId = B>), id: Id<&Iri, &BlankId>, ) -> Option<Self::Resource>
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.