Enum impl_tools_lib::fields::StructStyle
source · Expand description
Struct style: unit/tuple/regular
Variants§
Unit(Semi)
A unit struct (e.g. struct Foo;
)
Tuple(Paren, Semi)
A tuple struct (e.g. struct Foo(f32, f32);
)
Regular(Brace)
A regular struct (e.g. struct Foo { x: f32, y: f32 }
)