MCPcopy Create free account
hub / github.com/asymptotic-code/sui-prover / clone

Method clone

crates/move-stackless-bytecode/src/function_target.rs:42–50  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

40
41impl Clone for FunctionTarget<'_> {
42 fn clone(&self) -> Self {
43 // Annotation formatters are transient and forgotten on clone, so this is a cheap
44 // handle.
45 Self {
46 func_env: self.func_env,
47 data: self.data,
48 annotation_formatters: RefCell::new(vec![]),
49 }
50 }
51}
52
53/// Holds the owned data belonging to a FunctionTarget, contained in a

Callers 4

get_bytecode_locMethod · 0.45
forkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected