Module impl_tools_lib::fields

source ·
Expand description

Custom version of syn fields types supporting initializers

Structs

A field of a struct or enum variant.
Named fields of a struct or struct variant such as Point { x: f64, y: f64 }.
Unnamed fields of a tuple struct or tuple variant such as Some(T).

Enums

Data stored within an enum variant or struct.
Struct style: unit/tuple/regular