MCPcopy Index your code
hub / github.com/RustPython/RustPython / const_copy

Method const_copy

crates/vm/src/function/method.rs:254–261  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

252 }
253
254 const fn const_copy(&self) -> Self {
255 Self {
256 name: self.name,
257 func: self.func,
258 flags: self.flags,
259 doc: self.doc,
260 }
261 }
262}
263
264impl core::fmt::Debug for PyMethodDef {

Callers 1

__const_concat_arraysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected