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

Method visible_fields

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

Source from the content-addressed store, hash-verified

41 }
42
43 fn visible_fields(&self) -> Vec<&ParsedField> {
44 self.fields
45 .iter()
46 .filter(|f| f.kind != FieldKind::Skipped)
47 .collect()
48 }
49
50 fn skipped_fields(&self) -> Vec<&ParsedField> {
51 self.fields

Callers 1

Calls 3

collectMethod · 0.80
filterMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected