SignedPrimitive

Trait SignedPrimitive 

Source
pub trait SignedPrimitive:
    Sealed
    + Signed
    + PrimInt
    + Integer
    + Num<FromStrRadixErr = ParseIntError>
    + Bounded
    + FromStr<Err = ParseIntError>
    + FromPrimitive
    + Into<BigInt>
    + Default
    + Display
    + Debug
    + LowerHex
    + UpperHex
    + Sum
    + Product
    + AddAssign
    + SubAssign
    + MulAssign
    + DivAssign
    + RemAssign
    + BitAndAssign
    + BitOrAssign
    + BitXorAssign
    + Send
    + Sync
    + 'static { }
Expand description

A trait for i8, i16, i32, i64, i128, and isize.

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 SignedPrimitive for i8

Source§

impl SignedPrimitive for i16

Source§

impl SignedPrimitive for i32

Source§

impl SignedPrimitive for i64

Source§

impl SignedPrimitive for i128

Source§

impl SignedPrimitive for isize

Implementors§