Is this a scalar integer type?
(self)
| 229 | |
| 230 | /// Is this a scalar integer type? |
| 231 | pub fn is_int(self) -> bool { |
| 232 | match self { |
| 233 | I8 | I16 | I32 | I64 | I128 => true, |
| 234 | _ => false, |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | /// Is this a scalar floating point type? |
| 239 | pub fn is_float(self) -> bool { |
no outgoing calls
no test coverage detected