Trait json_ld_core::flattening::Flatten
source · pub trait Flatten<I, B> {
// Required methods
fn flatten_with<V, G: Generator<V>>(
self,
vocabulary: &mut V,
generator: G,
ordered: bool,
) -> FlattenResult<I, B>
where V: Vocabulary<Iri = I, BlankId = B>;
fn flatten_unordered_with<V, G: Generator<V>>(
self,
vocabulary: &mut V,
generator: G,
) -> FlattenUnorderedResult<I, B>
where V: Vocabulary<Iri = I, BlankId = B>;
// Provided methods
fn flatten<G: Generator>(
self,
generator: G,
ordered: bool,
) -> FlattenResult<I, B>
where (): Vocabulary<Iri = I, BlankId = B>,
Self: Sized { ... }
fn flatten_unordered<G: Generator>(
self,
generator: G,
) -> FlattenUnorderedResult<I, B>
where (): Vocabulary<Iri = I, BlankId = B>,
Self: Sized { ... }
}
Required Methods§
fn flatten_with<V, G: Generator<V>>(
self,
vocabulary: &mut V,
generator: G,
ordered: bool,
) -> FlattenResult<I, B>where
V: Vocabulary<Iri = I, BlankId = B>,
fn flatten_unordered_with<V, G: Generator<V>>(
self,
vocabulary: &mut V,
generator: G,
) -> FlattenUnorderedResult<I, B>where
V: Vocabulary<Iri = I, BlankId = B>,
Provided Methods§
fn flatten<G: Generator>( self, generator: G, ordered: bool, ) -> FlattenResult<I, B>
fn flatten_unordered<G: Generator>( self, generator: G, ) -> FlattenUnorderedResult<I, B>
Object Safety§
This trait is not object safe.