pub struct Context<'v, 'g, M, V: IriVocabulary, G> { /* private fields */ }
Implementations§
Source§impl<'v, 'g, M, V: IriVocabulary, G> Context<'v, 'g, M, V, G>
impl<'v, 'g, M, V: IriVocabulary, G> Context<'v, 'g, M, V, G>
pub fn new( base_iri: Option<V::Iri>, vocabulary: &'v mut V, generator: &'g mut G, ) -> Self
pub fn resolve_iri_ref(
&mut self,
Meta: Meta<IriRef<'_>, &M>,
) -> Result<V::Iri, MetaError<M>>where
M: Clone,
V: IriVocabularyMut,
pub fn resolve_compact_iri(
&mut self,
prefix: Meta<&str, &M>,
suffix: Meta<&str, &M>,
meta: &M,
) -> Result<V::Iri, MetaError<M>>where
M: Clone,
V: IriVocabularyMut,
pub fn insert_prefix(&mut self, prefix: String, iri: V::Iri, meta: M)
Auto Trait Implementations§
impl<'v, 'g, M, V, G> Freeze for Context<'v, 'g, M, V, G>
impl<'v, 'g, M, V, G> RefUnwindSafe for Context<'v, 'g, M, V, G>where
V: RefUnwindSafe,
G: RefUnwindSafe,
<V as IriVocabulary>::Iri: RefUnwindSafe,
M: RefUnwindSafe,
impl<'v, 'g, M, V, G> Send for Context<'v, 'g, M, V, G>
impl<'v, 'g, M, V, G> Sync for Context<'v, 'g, M, V, G>
impl<'v, 'g, M, V, G> Unpin for Context<'v, 'g, M, V, G>
impl<'v, 'g, M, V, G> !UnwindSafe for Context<'v, 'g, M, V, G>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more