...

/

Partial Equal, Partial Order

Partial Equal, Partial Order

We'll cover the following...

The next four traits we’re going to deal with are about equality and ordering. Rust breaks each of these down into partial and total traits. The reason for this has to do with mathematical theory, reflexivity and equality, and the way that computers represent non-integer values (like f32 and f64). The details aren’t vital to our understanding, so we’re going to skip over them. If you’re curious, Wikipedia has some articles on the top:

...