reth::core::primitives::arbitrary::unstructured

Trait Int

pub trait Int:
    Copy
    + Debug
    + PartialOrd
    + Ord
    + Sub<Output = Self>
    + Rem<Output = Self>
    + Shr<Output = Self>
    + Shl<usize, Output = Self>
    + BitOr<Output = Self> { }
Expand description

A trait that is implemented for all of the primitive integers:

  • u8
  • u16
  • u32
  • u64
  • u128
  • usize
  • i8
  • i16
  • i32
  • i64
  • i128
  • isize

Don’t implement this trait yourself.

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§

§

impl Int for i8

§

impl Int for i16

§

impl Int for i32

§

impl Int for i64

§

impl Int for i128

§

impl Int for isize

§

impl Int for u8

§

impl Int for u16

§

impl Int for u32

§

impl Int for u64

§

impl Int for u128

§

impl Int for usize

Implementors§