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

Method into_args

crates/jit/src/lib.rs:355–364  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

353 }
354
355 pub fn into_args(self) -> Option<Args<'a>> {
356 // Ensure all values are set
357 if self.values.iter().any(|v| v.is_none()) {
358 return None;
359 }
360 Some(Args {
361 values: self.values.into_iter().map(|v| v.unwrap()).collect(),
362 code: self.code,
363 })
364 }
365}
366
367pub struct Args<'a> {

Callers 2

py_decode_errorFunction · 0.45
test_args_builderFunction · 0.45

Calls 7

collectMethod · 0.80
SomeClass · 0.50
iterMethod · 0.45
is_noneMethod · 0.45
mapMethod · 0.45
into_iterMethod · 0.45
unwrapMethod · 0.45

Tested by 1

test_args_builderFunction · 0.36