Trait IdentifyAll

Source
pub trait IdentifyAll<T, B> {
    // Required method
    fn identify_all_with<N: Vocabulary<Iri = T, BlankId = B>, G: Generator<N>>(
        &mut self,
        vocabulary: &mut N,
        generator: &mut G,
    )
       where T: Eq + Hash,
             B: Eq + Hash;

    // Provided method
    fn identify_all<G: Generator>(&mut self, generator: &mut G)
       where T: Eq + Hash,
             B: Eq + Hash,
             (): Vocabulary<Iri = T, BlankId = B> { ... }
}

Required Methods§

Source

fn identify_all_with<N: Vocabulary<Iri = T, BlankId = B>, G: Generator<N>>( &mut self, vocabulary: &mut N, generator: &mut G, )
where T: Eq + Hash, B: Eq + Hash,

Provided Methods§

Source

fn identify_all<G: Generator>(&mut self, generator: &mut G)
where T: Eq + Hash, B: Eq + Hash, (): Vocabulary<Iri = T, BlankId = 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.

Implementors§

Source§

impl<T, B> IdentifyAll<T, B> for FlattenedDocument<T, B>