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

Method skipped_fields

crates/derive-impl/src/pystructseq.rs:50–55  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

48 }
49
50 fn skipped_fields(&self) -> Vec<&ParsedField> {
51 self.fields
52 .iter()
53 .filter(|f| f.kind == FieldKind::Skipped)
54 .collect()
55 }
56
57 fn n_unnamed_fields(&self) -> usize {
58 self.fields

Callers 1

Calls 3

collectMethod · 0.80
filterMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected