(&self, f: &mut fmt::Formatter<'_>)
| 304 | |
| 305 | impl fmt::Display for OperandConstraint { |
| 306 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 307 | match self { |
| 308 | Self::Class(rc) => write!(f, "{rc}"), |
| 309 | Self::Fixed(reg) => write!(f, "{reg}"), |
| 310 | Self::Reuse(idx) => write!(f, "reuse({idx})"), |
| 311 | } |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | /// Information about an operand in an instruction. |