pub trait Generator<V, M>where
    V: Vocabulary,{
    // Required method
    fn next(
        &mut self,
        vocabulary: &mut V
    ) -> Meta<Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>, M>;
}
Expand description

Subject identifier generator, with metadata.

Required Methods§

source

fn next( &mut self, vocabulary: &mut V ) -> Meta<Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>, M>

Implementations on Foreign Types§

source§

impl<'a, V, M, G> MetaGenerator<V, M> for &'a mut Gwhere V: Vocabulary, G: MetaGenerator<V, M>,

source§

fn next( &mut self, vocabulary: &mut V ) -> Meta<Id<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId>, M>

Implementors§

source§

impl<V, G, M> MetaGenerator<V, M> for WithMetadata<G, M>where V: Vocabulary, G: Generator<V>, M: Clone,