Struct turtle_syntax::build::Context
source · 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> RefUnwindSafe for Context<'v, 'g, M, V, G>where G: RefUnwindSafe, M: RefUnwindSafe, V: RefUnwindSafe, <V as IriVocabulary>::Iri: RefUnwindSafe,
impl<'v, 'g, M, V, G> Send for Context<'v, 'g, M, V, G>where G: Send, M: Send, V: Send, <V as IriVocabulary>::Iri: Send,
impl<'v, 'g, M, V, G> Sync for Context<'v, 'g, M, V, G>where G: Sync, M: Sync, V: Sync, <V as IriVocabulary>::Iri: Sync,
impl<'v, 'g, M, V, G> Unpin for Context<'v, 'g, M, V, G>where M: Unpin, <V as IriVocabulary>::Iri: Unpin,
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