pub trait RdfQuads<T, B> {
// Required method
fn rdf_quads_full<'a, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V>>(
&'a self,
vocabulary: &'a mut V,
generator: &'a mut G,
rdf_direction: Option<RdfDirection>,
produce_generalized_rdf: bool,
) -> Quads<'a, V, G> ⓘ;
// Provided methods
fn rdf_quads_with<'a, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V>>(
&'a self,
vocabulary: &'a mut V,
generator: &'a mut G,
rdf_direction: Option<RdfDirection>,
) -> Quads<'a, V, G> ⓘ { ... }
fn rdf_quads<'a, G: Generator>(
&'a self,
generator: &'a mut G,
rdf_direction: Option<RdfDirection>,
) -> Quads<'a, (), G> ⓘ
where (): Vocabulary<Iri = T, BlankId = B> { ... }
}
Required Methods§
fn rdf_quads_full<'a, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V>>( &'a self, vocabulary: &'a mut V, generator: &'a mut G, rdf_direction: Option<RdfDirection>, produce_generalized_rdf: bool, ) -> Quads<'a, V, G> ⓘ
Provided Methods§
fn rdf_quads_with<'a, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V>>( &'a self, vocabulary: &'a mut V, generator: &'a mut G, rdf_direction: Option<RdfDirection>, ) -> Quads<'a, V, G> ⓘ
fn rdf_quads<'a, G: Generator>(
&'a self,
generator: &'a mut G,
rdf_direction: Option<RdfDirection>,
) -> Quads<'a, (), G> ⓘwhere
(): Vocabulary<Iri = T, BlankId = B>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.