pub trait LinkedData<I: Interpretation = (), V: Vocabulary = ()> {
    // Required method
    fn visit<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
       where S: Visitor<I, V>;
}
Expand description

Linked-Data type.

A Linked-Data type represents an RDF dataset which can be visited using the visit method.

Required Methods§

source

fn visit<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: Visitor<I, V>,

Visit the RDF dataset represented by this type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, I: Interpretation, V: Vocabulary, T: ?Sized + LinkedData<I, V>> LinkedData<I, V> for &'a T

source§

fn visit<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: Visitor<I, V>,

source§

impl<I: Interpretation, V: Vocabulary> LinkedData<I, V> for Iri

source§

fn visit<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: Visitor<I, V>,

source§

impl<I: Interpretation, V: Vocabulary, T: ?Sized + LinkedData<I, V>> LinkedData<I, V> for Box<T>

source§

fn visit<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: Visitor<I, V>,

Implementors§