(&self)
| 234 | /// Returns `true` if `self == LCTerm::One` |
| 235 | #[inline] |
| 236 | pub fn is_one(&self) -> bool { |
| 237 | if let LCTerm::One = self { |
| 238 | true |
| 239 | } else { |
| 240 | false |
| 241 | } |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | impl From<PolynomialLabel> for LCTerm { |
no outgoing calls
no test coverage detected