pub trait Generator<T, B, M, N> {
    fn next(&mut self, vocabulary: &mut N) -> Meta<ValidId<T, B>, M>;
}
Expand description

Node identifier generator.

When a JSON-LD document is flattened, unidentified blank nodes are assigned a blank node identifier. This trait is used to abstract how fresh identifiers are generated.

Required Methods

Generates a new unique blank node identifier.

Implementations on Foreign Types

Implementors