fields-iter 0.0.3

A crate that allows you inspecting the fields of structs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: only structs are supported for `#[derive(FieldsInspect)]`
 --> tests/ui/enum_union.rs:4:1
  |
4 | enum Foo {}
  | ^^^^^^^^^^^

error: only structs are supported for `#[derive(FieldsInspect)]`
 --> tests/ui/enum_union.rs:7:1
  |
7 | / union Bar {
8 | |     _foo: (),
9 | | }
  | |_^