Trait json_ld_compaction::CompactFragment
source · pub trait CompactFragment<I, B> {
// Required method
async fn compact_fragment_full<'a, N, L>(
&'a self,
vocabulary: &'a mut N,
active_context: &'a Context<I, B>,
type_scoped_context: &'a Context<I, B>,
active_property: Option<&'a str>,
loader: &'a L,
options: Options,
) -> CompactFragmentResult
where N: VocabularyMut<Iri = I, BlankId = B>,
I: Clone + Hash + Eq,
B: Clone + Hash + Eq,
L: Loader;
// Provided methods
async fn compact_fragment_with<'a, N, L>(
&'a self,
vocabulary: &'a mut N,
active_context: &'a Context<I, B>,
loader: &'a mut L,
) -> CompactFragmentResult
where N: VocabularyMut<Iri = I, BlankId = B>,
I: Clone + Hash + Eq,
B: Clone + Hash + Eq,
L: Loader { ... }
async fn compact_fragment<'a, L>(
&'a self,
active_context: &'a Context<I, B>,
loader: &'a mut L,
) -> CompactFragmentResult
where (): VocabularyMut<Iri = I, BlankId = B>,
I: Clone + Hash + Eq,
B: Clone + Hash + Eq,
L: Loader { ... }
}
Required Methods§
async fn compact_fragment_full<'a, N, L>( &'a self, vocabulary: &'a mut N, active_context: &'a Context<I, B>, type_scoped_context: &'a Context<I, B>, active_property: Option<&'a str>, loader: &'a L, options: Options, ) -> CompactFragmentResult
Provided Methods§
async fn compact_fragment_with<'a, N, L>( &'a self, vocabulary: &'a mut N, active_context: &'a Context<I, B>, loader: &'a mut L, ) -> CompactFragmentResult
async fn compact_fragment<'a, L>( &'a self, active_context: &'a Context<I, B>, loader: &'a mut L, ) -> CompactFragmentResult
Object Safety§
This trait is not object safe.