pub struct Environment<'a, N, L, W> {
pub vocabulary: &'a mut N,
pub loader: &'a L,
pub warnings: &'a mut W,
}Expand description
Vocabulary, loader and warning handler an algorithm runs against.
Fields§
§vocabulary: &'a mut NVocabulary interning IRIs and blank node identifiers.
loader: &'a LLoader used to dereference remote documents and contexts.
warnings: &'a mut WHandler collecting the warnings raised along the way.
Auto Trait Implementations§
impl<'a, N, L, W> !UnwindSafe for Environment<'a, N, L, W>
impl<'a, N, L, W> Freeze for Environment<'a, N, L, W>
impl<'a, N, L, W> RefUnwindSafe for Environment<'a, N, L, W>
impl<'a, N, L, W> Send for Environment<'a, N, L, W>
impl<'a, N, L, W> Sync for Environment<'a, N, L, W>
impl<'a, N, L, W> Unpin for Environment<'a, N, L, W>
impl<'a, N, L, W> UnsafeUnpin for Environment<'a, N, L, W>
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.