re_format

Trait UnsignedAbs

Source
pub trait UnsignedAbs {
    type Unsigned;

    // Required method
    fn unsigned_abs(self) -> Self::Unsigned;
}

Required Associated Types§

Source

type Unsigned

An unsigned type which is large enough to hold the absolute value of Self.

Required Methods§

Source

fn unsigned_abs(self) -> Self::Unsigned

Computes the absolute value of self without any wrapping or panicking.

Implementations on Foreign Types§

Source§

impl UnsignedAbs for i8

Source§

impl UnsignedAbs for i16

Source§

impl UnsignedAbs for i32

Source§

impl UnsignedAbs for i64

Source§

impl UnsignedAbs for i128

Source§

impl UnsignedAbs for isize

Implementors§