Trait json_ld_core::rdf::RdfQuads

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

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

Required Methods§

source

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

Provided Methods§

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

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

source§

impl<T, B> RdfQuads<T, B> for FlattenedDocument<T, B>

source§

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