pub trait AsRdfLiteral<V: IriVocabulary + LiteralVocabulary> {
// Required method
fn as_rdf_literal<'a>(
&'a self,
vocabulary: &V,
ty: LiteralTypeRef<'a, V::Iri>,
) -> CowRdfLiteral<'_, V>;
}Required Methods§
fn as_rdf_literal<'a>( &'a self, vocabulary: &V, ty: LiteralTypeRef<'a, V::Iri>, ) -> CowRdfLiteral<'_, V>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".