Trait utils::number::SignedInteger

source ·
pub trait SignedInteger: Integer + Signed {
    type Unsigned: UnsignedInteger;

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

Trait implemented by the primitive signed integer types.

Required Associated Types§

Required Methods§

source

fn unsigned_abs(self) -> Self::Unsigned

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SignedInteger for i8

source§

impl SignedInteger for i16

source§

impl SignedInteger for i32

source§

impl SignedInteger for i64

source§

impl SignedInteger for i128

source§

impl SignedInteger for isize

Implementors§