Trait IntoSyntax

Source
pub trait IntoSyntax<T = IriBuf, B = BlankIdBuf> {
    // Required method
    fn into_syntax(
        self,
        vocabulary: &impl Vocabulary<Iri = T, BlankId = B>,
    ) -> Context;
}
Expand description

Context fragment to syntax method.

Required Methods§

Source

fn into_syntax( self, vocabulary: &impl Vocabulary<Iri = T, BlankId = B>, ) -> Context

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.

Implementations on Foreign Types§

Source§

impl<T, B> IntoSyntax<T, B> for Context

Source§

fn into_syntax( self, _namespace: &impl Vocabulary<Iri = T, BlankId = B>, ) -> Context

Implementors§

Source§

impl<T, B: Clone> IntoSyntax<T, B> for json_ld_core::context::Context<T, B>