pub struct Environment<'n, N, G>where
N: Vocabulary,{ /* private fields */ }
Implementations§
Source§impl<'n, N, G> Environment<'n, N, G>where
N: Vocabulary,
impl<'n, N, G> Environment<'n, N, G>where
N: Vocabulary,
pub fn new(vocabulary: &'n mut N, generator: G) -> Environment<'n, N, G>
Source§impl<'n, V, G> Environment<'n, V, G>where
V: Vocabulary,
G: Generator<V>,
<V as IriVocabulary>::Iri: Clone,
<V as BlankIdVocabulary>::BlankId: Clone + Hash + Eq,
impl<'n, V, G> Environment<'n, V, G>where
V: Vocabulary,
G: Generator<V>,
<V as IriVocabulary>::Iri: Clone,
<V as BlankIdVocabulary>::BlankId: Clone + Hash + Eq,
pub fn assign( &mut self, blank_id: <V as BlankIdVocabulary>::BlankId, ) -> Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>
pub fn assign_node_id( &mut self, r: Option<&Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>>, ) -> Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>
pub fn next( &mut self, ) -> Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>
Auto Trait Implementations§
impl<'n, N, G> Freeze for Environment<'n, N, G>where
G: Freeze,
impl<'n, N, G> RefUnwindSafe for Environment<'n, N, G>where
G: RefUnwindSafe,
N: RefUnwindSafe,
<N as BlankIdVocabulary>::BlankId: RefUnwindSafe,
<N as IriVocabulary>::Iri: RefUnwindSafe,
impl<'n, N, G> Send for Environment<'n, N, G>
impl<'n, N, G> Sync for Environment<'n, N, G>
impl<'n, N, G> Unpin for Environment<'n, N, G>
impl<'n, N, G> !UnwindSafe for Environment<'n, N, 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