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

Method to_complex64

crates/vm/src/builtins/complex.rs:271–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

269 }
270
271 pub const fn to_complex64(self) -> Complex64 {
272 self.value
273 }
274
275 pub const fn to_complex(&self) -> Complex64 {
276 self.value

Callers 1

write_object_depthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected