Skip to content

Glossary: Rust Beyond the Basics

PartialEq

Also written: ==, !=

The standard trait behind `==` and `!=`. Deriving it makes two values equal when all their fields are equal.

Where the book teaches it

Related terms

derivePartialOrd