(&self)
| 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) |