lexical_util::num

Trait SignedInteger

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

Defines a trait that supports signed integral operations.

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§