RegInt

Trait RegInt 

Source
pub trait RegInt:
    PrimInt
    + ConstZero
    + WrappingSub
    + WrappingAdd
    + FromBytes<Bytes: for<'a> TryFrom<&'a [u8], Error: Debug>>
    + ToBytes<Bytes: AsRef<[u8]>>
    + Debug
    + 'static { }
Expand description

Trait for primitive integer types accessed as registers.

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

Source§

impl RegInt for i16

Source§

impl RegInt for i32

Source§

impl RegInt for i64

Source§

impl RegInt for i128

Source§

impl RegInt for u8

Source§

impl RegInt for u16

Source§

impl RegInt for u32

Source§

impl RegInt for u64

Source§

impl RegInt for u128

Implementors§