Trait json_ld::RdfQuads

source ·
pub trait RdfQuads<T, B, M> {
    // Required method
    fn rdf_quads_full<V, G, 'n, 'g>(
        &self,
        vocabulary: &'n mut V,
        generator: &'g mut G,
        rdf_direction: Option<RdfDirection>,
        produce_generalized_rdf: bool
    ) -> Quads<'_, 'n, 'g, V, M, G> 
       where V: Vocabulary<Iri = T, BlankId = B>,
             G: MetaGenerator<V, M>;

    // Provided methods
    fn rdf_quads_with<V, G, 'n, 'g>(
        &self,
        vocabulary: &'n mut V,
        generator: &'g mut G,
        rdf_direction: Option<RdfDirection>
    ) -> Quads<'_, 'n, 'g, V, M, G> 
       where V: Vocabulary<Iri = T, BlankId = B>,
             G: MetaGenerator<V, M> { ... }
    fn rdf_quads<G, 'g>(
        &self,
        generator: &'g mut G,
        rdf_direction: Option<RdfDirection>
    ) -> Quads<'_, 'static, 'g, (), M, G> 
       where G: MetaGenerator<(), M>,
             (): Vocabulary<Iri = T, BlankId = B> { ... }
}

Required Methods§

source

fn rdf_quads_full<V, G, 'n, 'g>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection>, produce_generalized_rdf: bool ) -> Quads<'_, 'n, 'g, V, M, G> where V: Vocabulary<Iri = T, BlankId = B>, G: MetaGenerator<V, M>,

Provided Methods§

source

fn rdf_quads_with<V, G, 'n, 'g>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection> ) -> Quads<'_, 'n, 'g, V, M, G> where V: Vocabulary<Iri = T, BlankId = B>, G: MetaGenerator<V, M>,

source

fn rdf_quads<G, 'g>( &self, generator: &'g mut G, rdf_direction: Option<RdfDirection> ) -> Quads<'_, 'static, 'g, (), M, G> where G: MetaGenerator<(), M>, (): Vocabulary<Iri = T, BlankId = B>,

Implementations on Foreign Types§

source§

impl<T, B, M> RdfQuads<T, B, M> for Vec<Meta<Indexed<Node<T, B, M>, M>, M>, Global>

source§

fn rdf_quads_full<V, G, 'n, 'g>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection>, produce_generalized_rdf: bool ) -> Quads<'_, 'n, 'g, V, M, G> where V: Vocabulary<Iri = T, BlankId = B>, G: MetaGenerator<V, M>,

Implementors§

source§

impl<T, B, M> RdfQuads<T, B, M> for ExpandedDocument<T, B, M>

source§

impl<T, B, M> RdfQuads<T, B, M> for NodeMap<T, B, M>where T: Eq + Hash, B: Eq + Hash,