Trait IdInterpretation

Source
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§

Source

fn id_interpretation(&self, id: &Id<I, B>) -> Option<Self::Resource>

Returns the interpretation of the given node identifier, if any.

Source

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.

Implementors§