I defined a type of my own, Decimal. I could successfully define PartialEq for this struct. However, as Decimal is the representation of a number I want to compare it to i32, u32, i64, u64 and the floating decimals. I have no idea how to approach that as I cannot find any docs on comparing different types.
I am reading the community book (which I bought on paper … ) and I did search the web.
Maybe I am just looking in the wrong place. Pointers, anyone? Or is this just impossible?