Function std::num::abs_sub[src]
pub fn abs_sub<T: Signed>(x: T, y: T) -> T
The positive difference of two numbers.
Returns zero if the number is less than or equal to other,
otherwise the difference between self and other is returned.
pub fn abs_sub<T: Signed>(x: T, y: T) -> T
The positive difference of two numbers.
Returns zero if the number is less than or equal to other,
otherwise the difference between self and other is returned.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).