Is there a standard zero-sized-type that implements all of the numeric traits? i.e.
Ord + Sub + Div + Add + AddAssign + etc.? I couldn't find one on crates.io, but perhaps I wasn't looking in the right place.
My thinking is that - since all ZST instances are identical, the result of any math operation involving the ZST is just the ZST.
I need this because I have some generic code that does a lot of math ops, and now I need to instantiate one with a "NULL" type. Unfortunately () doesn't implement any of the traits.
I could write my own but I figured I'd ask whether or not there was already one people are using.
Thank you in advance.