Module std::cmp

Overview

Comparison and ordering.

Enums

Ordering

An Ordering is the result of a comparison between two values.

Functions

max

Compares and returns the maximum of two values.

min

Compares and returns the minimum of two values.

Traits

Eq

Trait for equality comparisons.

Ord

Trait for types that form a [total

PartialEq

Trait for comparisons using the equality operator.

PartialOrd

Trait for types that form a [partial