Empty tuple fields in structs or enum variants do not affect the program in a meaningful way other than making the variant or struct identifier a constructor type rather than a value type. Consider revisiting this definition.
struct Foo();
enum Bar {
Baz()
}
fn foo() {
let x: fn() -> Foo = Foo;
let y: fn() -> Bar = Bar::Baz;
}
struct Foo;
enum Bar {
Baz
}
fn foo() {
let x: Foo = Foo;
let y: Bar = Bar::Baz;
}