pub trait AnyDefinition<M>: Sized {
    type ContextValue: AnyValue<M>;

Show 13 methods // Required methods fn base(&self) -> Option<BaseEntryRef<'_, M>>; fn import(&self) -> Option<ImportEntryRef<'_, M>>; fn language(&self) -> Option<LanguageEntryRef<'_, M>>; fn direction(&self) -> Option<DirectionEntry<M>>; fn propagate(&self) -> Option<PropagateEntry<M>>; fn protected(&self) -> Option<ProtectedEntry<M>>; fn type_(&self) -> Option<TypeEntry<M>>; fn version(&self) -> Option<VersionEntry<M>>; fn vocab(&self) -> Option<VocabEntryRef<'_, M>>; fn bindings(&self) -> BindingsIter<'_, M, Self::ContextValue> ; fn get_binding( &self, key: &Key ) -> Option<TermBindingRef<'_, M, Self::ContextValue>>; // Provided methods fn get( &self, key: &KeyOrKeyword ) -> Option<EntryValueRef<'_, M, Self::ContextValue>> { ... } fn entries(&self) -> Entries<'_, M, Self::ContextValue> { ... }
}

Required Associated Types§

Required Methods§

source

fn base(&self) -> Option<BaseEntryRef<'_, M>>

source

fn import(&self) -> Option<ImportEntryRef<'_, M>>

source

fn language(&self) -> Option<LanguageEntryRef<'_, M>>

source

fn direction(&self) -> Option<DirectionEntry<M>>

source

fn propagate(&self) -> Option<PropagateEntry<M>>

source

fn protected(&self) -> Option<ProtectedEntry<M>>

source

fn type_(&self) -> Option<TypeEntry<M>>

source

fn version(&self) -> Option<VersionEntry<M>>

source

fn vocab(&self) -> Option<VocabEntryRef<'_, M>>

source

fn bindings(&self) -> BindingsIter<'_, M, Self::ContextValue>

source

fn get_binding( &self, key: &Key ) -> Option<TermBindingRef<'_, M, Self::ContextValue>>

Provided Methods§

source

fn get( &self, key: &KeyOrKeyword ) -> Option<EntryValueRef<'_, M, Self::ContextValue>>

source

fn entries(&self) -> Entries<'_, M, Self::ContextValue>

Implementors§