Creates a raw `Instance` from the internal identifiers within the store.
(store: &StoreOpaque, id: ComponentInstanceId)
| 53 | impl Instance { |
| 54 | /// Creates a raw `Instance` from the internal identifiers within the store. |
| 55 | pub(crate) fn from_wasmtime(store: &StoreOpaque, id: ComponentInstanceId) -> Instance { |
| 56 | Instance { |
| 57 | id: StoreComponentInstanceId::new(store.id(), id), |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /// Looks up an exported function by name within this [`Instance`]. |
| 62 | /// |