Closed Kyuuhachi closed 2 years ago
For the builtin numeric types (both signed, unsigned, and floating), Default::default is defined to zero. Would it make sense to do the same here? Would be convenient for deriving structs that contain rationals.
Default::default
Sure, that sounds fine.
For the builtin numeric types (both signed, unsigned, and floating),
Default::default
is defined to zero. Would it make sense to do the same here? Would be convenient for deriving structs that contain rationals.