Trait re_format::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

§

type Unsigned = u8

source§

fn unsigned_abs(self) -> Self::Unsigned

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§