pub trait Relabel<T, B> {
// Required method
fn relabel_with<N: Vocabulary<Iri = T, BlankId = B>, G: Generator<N>>(
&mut self,
vocabulary: &mut N,
generator: &mut G,
relabeling: &mut HashMap<B, ValidId<T, B>>,
)
where T: Clone + Eq + Hash,
B: Clone + Eq + Hash;
// Provided method
fn relabel<G: Generator>(
&mut self,
generator: &mut G,
relabeling: &mut HashMap<B, ValidId<T, B>>,
)
where 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>>( &mut self, vocabulary: &mut N, generator: &mut G, relabeling: &mut HashMap<B, ValidId<T, B>>, )
Provided Methods§
fn relabel<G: Generator>( &mut self, generator: &mut G, relabeling: &mut HashMap<B, ValidId<T, B>>, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.