MCPcopy Create free account
hub / github.com/argumentcomputer/ix / addr

Method addr

crates/kernel/src/level.rs:70–78  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

68 }
69
70 pub fn addr(&self) -> &Addr {
71 match self.data() {
72 UnivData::Zero(h)
73 | UnivData::Succ(_, h)
74 | UnivData::Max(_, _, h)
75 | UnivData::IMax(_, _, h)
76 | UnivData::Param(_, _, h) => h,
77 }
78 }
79
80 pub fn ptr_eq(&self, other: &KUniv<M>) -> bool {
81 Arc::ptr_eq(&self.0, &other.0)

Callers 4

hash_eqMethod · 0.45
succMethod · 0.45
max_rawMethod · 0.45
imaxMethod · 0.45

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected