pub trait Abs {
    type Output;

    fn abs(self) -> Self::Output;
}
Expand description

Takes the absolute value of a number. Assumes that the number has a representable absolute number.

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

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

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

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

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

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

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

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

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

Implementors§