Skip to main content

InterpretationMut

Trait InterpretationMut 

Source
pub trait InterpretationMut: Interpretation {
    // Required methods
    fn insert_iri<'a>(
        &mut self,
        iri: impl Into<Cow<'a, IriBuf>>,
    ) -> Self::Resource;
    fn insert_literal<'a>(
        &mut self,
        literal: impl Into<CowLiteral<'a>>,
    ) -> Self::Resource;

    // Provided method
    fn insert_term<'a>(
        &mut self,
        term: impl Into<CowTerm<'a>>,
    ) -> Self::Resource { ... }
}
Expand description

Mutable interpretation.

Required Methods§

Source

fn insert_iri<'a>(&mut self, iri: impl Into<Cow<'a, IriBuf>>) -> Self::Resource

Source

fn insert_literal<'a>( &mut self, literal: impl Into<CowLiteral<'a>>, ) -> Self::Resource

Provided Methods§

Source

fn insert_term<'a>(&mut self, term: impl Into<CowTerm<'a>>) -> Self::Resource

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl InterpretationMut for ()

Source§

fn insert_iri<'a>(&mut self, iri: impl Into<Cow<'a, IriBuf>>) -> Self::Resource

Source§

fn insert_literal<'a>( &mut self, literal: impl Into<CowLiteral<'a>>, ) -> Self::Resource

Implementors§