Skip to content

Glossary: Rust Beyond the Basics

PartialOrd

The standard trait behind `<` and `>`. Generic code needs it as a bound, `T: PartialOrd`, to compare values.

Where the book teaches it

Related terms

trait boundPartialEq