pub struct OntologyCatalog { /* private fields */ }Implementations§
Source§impl OntologyCatalog
impl OntologyCatalog
pub fn find_entity(&self, iri: &str) -> Option<&Entity>
pub fn entity_document(&self, iri: &str) -> Option<&OntologyDocument>
pub fn class_hierarchy(&self) -> ClassHierarchy
pub fn entity_detail(&self, iri: &str) -> Option<EntityDetail>
pub fn entity_detail_with_hierarchy( &self, iri: &str, hierarchy: &ClassHierarchy, ) -> Option<EntityDetail>
pub fn find_source_location(&self, iri: &str) -> Option<SourceHint>
pub fn entities_in_document(&self, doc_path: &Path) -> Vec<&Entity>
Auto Trait Implementations§
impl !RefUnwindSafe for OntologyCatalog
impl !UnwindSafe for OntologyCatalog
impl Freeze for OntologyCatalog
impl Send for OntologyCatalog
impl Sync for OntologyCatalog
impl Unpin for OntologyCatalog
impl UnsafeUnpin for OntologyCatalog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more