SignedInteger

Trait SignedInteger 

Source
pub trait SignedInteger: Integer + Neg<Output = Self> { }
Expand description

The trait for types that support signed integral operations, that is, they can hold negative numbers.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§