Trait json_ld_core::id::Relabel
source · pub trait Relabel<T, B, M> {
// Required method
fn relabel_with<N: Vocabulary<Iri = T, BlankId = B>, G: Generator<N, M>>(
&mut self,
vocabulary: &mut N,
generator: &mut G,
relabeling: &mut HashMap<B, Meta<ValidId<T, B>, M>>
)
where M: Clone,
T: Clone + Eq + Hash,
B: Clone + Eq + Hash;
// Provided method
fn relabel<G: Generator<(), M>>(
&mut self,
generator: &mut G,
relabeling: &mut HashMap<B, Meta<ValidId<T, B>, M>>
)
where M: Clone,
T: Clone + Eq + Hash,
B: Clone + Eq + Hash,
(): Vocabulary<Iri = T, BlankId = B> { ... }
}
Required Methods§
fn relabel_with<N: Vocabulary<Iri = T, BlankId = B>, G: Generator<N, M>>( &mut self, vocabulary: &mut N, generator: &mut G, relabeling: &mut HashMap<B, Meta<ValidId<T, B>, M>> )
Provided Methods§
fn relabel<G: Generator<(), M>>( &mut self, generator: &mut G, relabeling: &mut HashMap<B, Meta<ValidId<T, B>, M>> )
Object Safety§
This trait is not object safe.