MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / clone

Method clone

crates/wasmtime/src/runtime/instance.rs:809–818  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

807/// InstancePre's clone does not require T: Clone
808impl<T> Clone for InstancePre<T> {
809 fn clone(&self) -> Self {
810 Self {
811 module: self.module.clone(),
812 items: self.items.clone(),
813 host_funcs: self.host_funcs,
814 func_refs: self.func_refs.clone(),
815 asyncness: self.asyncness,
816 _marker: self._marker,
817 }
818 }
819}
820
821impl<T: 'static> InstancePre<T> {

Callers 4

new_rawMethod · 0.45
exportsMethod · 0.45
newMethod · 0.45
pre_instantiate_rawFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected