MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / deref

Method deref

atomic-core/src/kg/ontology.rs:231–233  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

229impl std::ops::Deref for Predicate {
230 type Target = str;
231 fn deref(&self) -> &str {
232 self.iri()
233 }
234}
235impl std::fmt::Display for Predicate {
236 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {

Callers

nothing calls this directly

Calls 1

iriMethod · 0.80

Tested by

no test coverage detected