(self)
| 171 | } |
| 172 | |
| 173 | pub fn into_static(self) -> InstructionArgValue<'static> { |
| 174 | match self { |
| 175 | InstructionArgValue::Signed(v) => InstructionArgValue::Signed(v), |
| 176 | InstructionArgValue::Unsigned(v) => InstructionArgValue::Unsigned(v), |
| 177 | InstructionArgValue::Opaque(v) => { |
| 178 | InstructionArgValue::Opaque(Cow::Owned(v.into_owned())) |
| 179 | } |
| 180 | } |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | impl fmt::Display for InstructionArgValue<'_> { |
no outgoing calls