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

Method as_str

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

Source from the content-addressed store, hash-verified

212
213impl Predicate {
214 pub const fn as_str(self) -> &'static str {
215 self.iri()
216 }
217 pub const fn property_chain(self) -> &'static [Self] {
218 match self {
219 Self::Implements => &[Self::GeneratedBy, Self::HasPlan],

Callers 13

post_rewrite_event_pairsFunction · 0.45
verify_macMethod · 0.45
from_nameMethod · 0.45
from_extensionMethod · 0.45
fromMethod · 0.45
from_authorship_partsMethod · 0.45
parseMethod · 0.45
literalsFunction · 0.45
objectsFunction · 0.45

Calls 1

iriMethod · 0.80

Tested by 5

verify_macMethod · 0.36
literalsFunction · 0.36
objectsFunction · 0.36