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

Method to_function

crates/vm/src/function/method.rs:121–128  ·  view source on GitHub ↗
(&'static self)

Source from the content-addressed store, hash-verified

119 }
120
121 pub const fn to_function(&'static self) -> PyNativeFunction {
122 PyNativeFunction {
123 zelf: None,
124 value: self,
125 module: None,
126 _method_def_owner: None,
127 }
128 }
129
130 pub fn to_method(
131 &'static self,

Callers 2

build_functionMethod · 0.80
__init_methodsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected