(&self)
| 163 | } |
| 164 | |
| 165 | pub fn to_static(&self) -> InstructionArgValue<'static> { |
| 166 | match self { |
| 167 | InstructionArgValue::Signed(v) => InstructionArgValue::Signed(*v), |
| 168 | InstructionArgValue::Unsigned(v) => InstructionArgValue::Unsigned(*v), |
| 169 | InstructionArgValue::Opaque(v) => InstructionArgValue::Opaque(v.to_string().into()), |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | pub fn into_static(self) -> InstructionArgValue<'static> { |
| 174 | match self { |