Trait json_ld::Relabel

source ·
pub trait Relabel<T, B, M> {
    fn relabel_with<N, G>(
        &mut self,
        vocabulary: &mut N,
        generator: &mut G,
        relabeling: &mut HashMap<B, Meta<Subject<T, B>, M>, BuildHasherDefault<AHasher>, Global>
    )
    where
        N: Vocabulary<Iri = T, BlankId = B>,
        G: MetaGenerator<N, M>,
        M: Clone,
        T: Clone + Eq + Hash,
        B: Clone + Eq + Hash
; fn relabel<G>(
        &mut self,
        generator: &mut G,
        relabeling: &mut HashMap<B, Meta<Subject<T, B>, M>, BuildHasherDefault<AHasher>, Global>
    )
    where
        G: MetaGenerator<(), M>,
        M: Clone,
        T: Clone + Eq + Hash,
        B: Clone + Eq + Hash,
        (): Vocabulary<Iri = T, BlankId = B>
, { ... } }

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§