Skip to main content

LinkedDataGraph

Trait LinkedDataGraph 

Source
pub trait LinkedDataGraph<I: Interpretation, V: Vocabulary> {
    // Required method
    fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
       where S: GraphVisitor<I, V>;
}
Expand description

Serialize a Linked-Data graph.

Required Methods§

Source

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

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, D> LinkedDataGraph<I, V> for DatasetView<'a, D>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<I: Interpretation, V: Vocabulary, T: LinkedDataSubject<I, V> + LinkedDataResource<I, V>> LinkedDataGraph<I, V> for Vec<T>

Source§

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

Source§

impl<I: Interpretation, V: Vocabulary, T: LinkedDataSubject<I, V> + LinkedDataResource<I, V>> LinkedDataGraph<I, V> for [T]

Source§

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

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataGraph<I, V> for ()

Source§

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

Source§

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

Source§

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

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataGraph<I, V> for IriBuf

Source§

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

Implementors§