Returns the type of this constant.
(&self)
| 1411 | hasher.finalize() |
| 1412 | } |
| 1413 | |
| 1414 | /// Returns the name of this constant. |
| 1415 | pub fn get_name(&self) -> &Name { |
| 1416 | match self { |
| 1417 | ConstantInfo::AxiomInfo(v) => &v.cnst.name, |
| 1418 | ConstantInfo::DefnInfo(v) => &v.cnst.name, |
| 1419 | ConstantInfo::ThmInfo(v) => &v.cnst.name, |
| 1420 | ConstantInfo::OpaqueInfo(v) => &v.cnst.name, |
| 1421 | ConstantInfo::QuotInfo(v) => &v.cnst.name, |
| 1422 | ConstantInfo::InductInfo(v) => &v.cnst.name, |
| 1423 | ConstantInfo::CtorInfo(v) => &v.cnst.name, |
| 1424 | ConstantInfo::RecInfo(v) => &v.cnst.name, |
| 1425 | } |
| 1426 | } |
| 1427 |
no outgoing calls
no test coverage detected