SInt

Trait SInt 

Source
pub trait SInt: Sealed {
    const BITS: u32;
}
Expand description

Sealed trait for supported signed integer types.

Required Associated Constants§

Source

const BITS: u32

Size of the type in bits.

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

Source§

const BITS: u32 = i8::BITS

Source§

impl SInt for i16

Source§

const BITS: u32 = i16::BITS

Source§

impl SInt for i32

Source§

const BITS: u32 = i32::BITS

Source§

impl SInt for i64

Source§

const BITS: u32 = i64::BITS

Source§

impl SInt for i128

Source§

const BITS: u32 = i128::BITS

Implementors§