Skip to main content

Int

Trait Int 

Source
pub trait Int:
    Copy
    + Sealed
    + Ways { }
Expand description

An integer type that int and float convert: i8, i16, i32, i64, u8, u16 or u32.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Int for i8

Source§

impl Int for i16

Source§

impl Int for i32

Source§

impl Int for i64

Source§

impl Int for u8

Source§

impl Int for u16

Source§

impl Int for u32

Implementors§