pub trait LinkedDataResource<I: Interpretation = (), V: Vocabulary = ()> {
// Required method
fn interpretation(
&self,
vocabulary: &mut V,
interpretation: &mut I,
) -> ResourceInterpretation<'_, I, V>;
// Provided methods
fn lexical_representation<'a>(
&'a self,
vocabulary: &'a mut V,
interpretation: &'a mut I,
) -> Option<CowRdfTerm<'a, V>>
where I: ReverseTermInterpretation<Iri = V::Iri, BlankId = V::BlankId, Literal = V::Literal> { ... }
fn reference_interpretation(
&self,
vocabulary: &mut V,
interpretation: &mut I,
) -> ResourceInterpretation<'_, I, V> { ... }
}
Expand description
Type that can have an interpretation.