pub trait EqAbs<Rhs: ?Sized = Self> {
    fn eq_abs(&self, other: &Rhs) -> bool;

    fn ne_abs(&self, other: &Rhs) -> bool { ... }
}
Expand description

Determines equality between the absolute values of two numbers.

Required Methods

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

Provided Methods

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

Worst-case complexity

Same as the time and additional memory complexity of eq_abs.

Implementations on Foreign Types

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

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Implementors