(&self)
| 224 | } |
| 225 | |
| 226 | pub fn ty(&self) -> WasmTy { |
| 227 | match self { |
| 228 | // WasmVal::ByteBuffer(_) => WasmTy::ByteBuffer, |
| 229 | WasmVal::ByteArray { .. } => WasmTy::ByteArray, |
| 230 | WasmVal::String(_) => WasmTy::String, |
| 231 | WasmVal::Val(val) => val.ty().into(), |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | pub fn store_to_args<'w, S: AsContextMut>( |
| 236 | self, |
no outgoing calls
no test coverage detected