Trait Interpret

Source
pub trait Interpret<I: Interpretation> {
    type Interpreted;

    // Required method
    fn interpret(self, interpretation: &mut I) -> Self::Interpreted;
}
Expand description

RDF interpretation function.

Required Associated Types§

Source

type Interpreted

Interpreted form.

Required Methods§

Source

fn interpret(self, interpretation: &mut I) -> Self::Interpreted

Interpret the given resource.

Implementations on Foreign Types§

Source§

impl<I: Interpretation, T: Interpret<I>> Interpret<I> for Option<T>

Source§

type Interpreted = Option<<T as Interpret<I>>::Interpreted>

Source§

fn interpret(self, interpretation: &mut I) -> Self::Interpreted

Implementors§

Source§

impl<I, B, T: IdInterpretationMut<I, B>> Interpret<T> for Id<I, B>

Source§

impl<I: LiteralInterpretationMut<L>, T: Interpret<I, Interpreted = I::Resource>, L> Interpret<I> for Term<T, L>

Source§

impl<S: Interpret<I>, P: Interpret<I>, O: Interpret<I>, G: Interpret<I>, I: Interpretation> Interpret<I> for Quad<S, P, O, G>

Source§

impl<T, I: LiteralInterpretationMut<Self>> Interpret<I> for Literal<T>