pub trait CheckedAbs {
    type Output;

    fn checked_abs(self) -> Option<Self::Output>;
}
Expand description

Takes the absolute valie of a number, returning None if the result is not representable.

Required Associated Types

Required Methods

Implementations on Foreign Types

This is a wrapper over the checked_abs functions in the standard library, for example this one.

This is a wrapper over the checked_abs functions in the standard library, for example this one.

This is a wrapper over the checked_abs functions in the standard library, for example this one.

This is a wrapper over the checked_abs functions in the standard library, for example this one.

This is a wrapper over the checked_abs functions in the standard library, for example this one.

This is a wrapper over the checked_abs functions in the standard library, for example this one.

Implementors