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

Method clone

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

Source from the content-addressed store, hash-verified

1063// `InstancePre`'s clone does not require `T: Clone`
1064impl<T: 'static> Clone for InstancePre<T> {
1065 fn clone(&self) -> Self {
1066 Self {
1067 component: self.component.clone(),
1068 imports: self.imports.clone(),
1069 resource_types: self.resource_types.clone(),
1070 asyncness: self.asyncness,
1071 _marker: self._marker,
1072 }
1073 }
1074}
1075
1076impl<T: 'static> InstancePre<T> {

Callers 1

get_moduleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected