Enum lrs::cmp::Ordering

Result of a comparison of two values.

Syntax

enum Ordering {
    Equal,
    Greater,
    Less,
}

Variants

NameDescription
Equal

The values are equal.

Greater

The second value is larger than the firest.

Less

The first value is smaller than the second.

Trait implementations

NameDescription
Copy

Objects that can safely be copied via memcpy.

Eq

Objects that implement the binary == and != operators.