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

Method from

crates/vm/src/function/argument.rs:84–89  ·  view source on GitHub ↗
(args: A)

Source from the content-addressed store, hash-verified

82 A: Into<PosArgs>,
83{
84 fn from(args: A) -> Self {
85 Self {
86 args: args.into().into_vec(),
87 kwargs: IndexMap::new(),
88 }
89 }
90}
91
92impl From<KwArgs> for FuncArgs {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
SelfFunction · 0.85
into_vecMethod · 0.45

Tested by

no test coverage detected