Trait IdentifyAll

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

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

Required Methods§

Source

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

Provided Methods§

Source

fn identify_all<G>(&mut self, generator: &mut G)
where G: Generator, 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.

Implementations on Foreign Types§

Source§

impl<T, B> IdentifyAll<T, B> for Vec<Indexed<Node<T, B>>>

Source§

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

Implementors§