Search results

There are no results.

std.cmp

Types for for common comparison operations, such as equality, ordering, inclusion, and others.

Methods

max

Returns the maximum of two values.

min

Returns the minimum of two values.

Traits

Compare

A type that can be compared to another type for a sort-order.

Contains

A type that supports checking if a value is included in self.

Equal

A type that can be compared for equality.

Classes

Ordering

A type describing the ordering between two values.