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.

Implementors§

Source§

impl<T, B> IntoSyntax<T, B> for ssi_json_ld::syntax::Context

Source§

impl<T, B> IntoSyntax<T, B> for ssi_json_ld::Context<T, B>
where B: Clone,