Module bonsaidb::core::num_traits::sign[][src]

Traits

Useful functions for signed numbers (i.e. numbers that can be negative).

A trait for values which cannot be negative

Functions

Computes the absolute value.

The positive difference of two numbers.

Returns the sign of the number.