Skip to main content

LinkedData

Trait LinkedData 

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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, 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>,

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>,

Implementors§