Get the offset into `TYPE_SETS` for the controlling type variable. Returns `None` if the instruction is not polymorphic.
(self)
| 749 | /// Get the offset into `TYPE_SETS` for the controlling type variable. |
| 750 | /// Returns `None` if the instruction is not polymorphic. |
| 751 | fn typeset_offset(self) -> Option<usize> { |
| 752 | let offset = usize::from(self.typeset_offset); |
| 753 | if offset < TYPE_SETS.len() { |
| 754 | Some(offset) |
| 755 | } else { |
| 756 | None |
| 757 | } |
| 758 | } |
| 759 | |
| 760 | /// Get the offset into OPERAND_CONSTRAINTS where the descriptors for this opcode begin. |
| 761 | fn constraint_offset(self) -> usize { |
no test coverage detected