Trait json_ld::FlattenMeta

source ·
pub trait FlattenMeta<I, B, M> {
    // Required methods
    fn flatten_meta<V, G>(
        self,
        meta: M,
        vocabulary: &mut V,
        generator: G,
        ordered: bool
    ) -> Result<Meta<Vec<Meta<Indexed<Node<I, B, M>, M>, M>, Global>, M>, ConflictingIndexes<I, B, M>>
       where G: MetaGenerator<V, M>,
             V: Vocabulary<Iri = I, BlankId = B>;
    fn flatten_unordered_meta<V, G>(
        self,
        meta: M,
        vocabulary: &mut V,
        generator: G
    ) -> Result<Meta<HashSet<Stripped<Meta<Indexed<Node<I, B, M>, M>, M>>, RandomState>, M>, ConflictingIndexes<I, B, M>>
       where G: MetaGenerator<V, M>,
             V: Vocabulary<Iri = I, BlankId = B>;
}

Required Methods§

source

fn flatten_meta<V, G>( self, meta: M, vocabulary: &mut V, generator: G, ordered: bool ) -> Result<Meta<Vec<Meta<Indexed<Node<I, B, M>, M>, M>, Global>, M>, ConflictingIndexes<I, B, M>>where G: MetaGenerator<V, M>, V: Vocabulary<Iri = I, BlankId = B>,

source

fn flatten_unordered_meta<V, G>( self, meta: M, vocabulary: &mut V, generator: G ) -> Result<Meta<HashSet<Stripped<Meta<Indexed<Node<I, B, M>, M>, M>>, RandomState>, M>, ConflictingIndexes<I, B, M>>where G: MetaGenerator<V, M>, V: Vocabulary<Iri = I, BlankId = B>,

Implementors§

source§

impl<I, B, M> FlattenMeta<I, B, M> for ExpandedDocument<I, B, M>where I: Clone + Eq + Hash, B: Clone + Eq + Hash, M: Clone,