pub trait OrdAbs: Eq + PartialOrdAbs<Self> {
    fn cmp_abs(&self, other: &Self) -> Ordering;
}
Expand description

Compares the absolute values of two numbers.

Required Methods

Implementations on Foreign Types

Compares the absolute values of two numbers, taking both by reference.

For unsigned values, this is the same as ordinary comparison.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

For unsigned values, this is the same as ordinary comparison.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

For unsigned values, this is the same as ordinary comparison.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

For unsigned values, this is the same as ordinary comparison.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

For unsigned values, this is the same as ordinary comparison.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

For unsigned values, this is the same as ordinary comparison.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Compares the absolute values of two numbers, taking both by reference.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Implementors