pub trait EqAbs<Rhs: ?Sized = Self> {
// Required method
fn eq_abs(&self, other: &Rhs) -> bool;
// Provided method
fn ne_abs(&self, other: &Rhs) -> bool { ... }
}
Expand description
Determines equality between the absolute values of two numbers.
Compares the absolute values of two numbers for equality, taking both by reference.
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
.
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.
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.