pub fn define<'a, T: Clone + PartialEq + Send + Sync, B: Clone + PartialEq + Send + Sync, M: 'a + Clone + Send + Sync, C: ProcessMeta<T, B, M>, N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>, L: ContextLoader<T, M> + Send + Sync, W: 'a + Send + WarningHandler<N, M>>(
    vocabulary: &'a mut N,
    active_context: &'a mut Context<T, B, C, M>,
    local_context: &'a Merged<'a, M, C>,
    Meta: Meta<KeyOrKeywordRef<'_>, M>,
    defined: &'a mut DefinedTerms<M>,
    remote_contexts: ProcessingStack<T>,
    loader: &'a mut L,
    base_url: Option<T>,
    protected: bool,
    options: Options,
    warnings: W
) -> BoxFuture<'a, Result<W, Error<L::ContextError>>>
where L::Context: Into<C>,
Expand description

Follows the https://www.w3.org/TR/json-ld11-api/#create-term-definition algorithm. Default value for base_url is None. Default values for protected and override_protected are false.