SmallInt

Trait SmallInt 

Source
pub trait SmallInt<T>: Sized {
    // Required method
    fn small_int(self) -> T;
}
Expand description

Required Methods§

Source

fn small_int(self) -> T

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

Source§

fn small_int(self) -> i8

Source§

impl SmallInt<i8> for i16

Source§

fn small_int(self) -> i8

Source§

impl SmallInt<i8> for i32

Source§

fn small_int(self) -> i8

Source§

impl SmallInt<i8> for i64

Source§

fn small_int(self) -> i8

Source§

impl SmallInt<i8> for i128

Source§

fn small_int(self) -> i8

Source§

impl SmallInt<i8> for isize

Source§

fn small_int(self) -> i8

Source§

impl SmallInt<i16> for i16

Source§

impl SmallInt<i16> for i32

Source§

impl SmallInt<i16> for i64

Source§

impl SmallInt<i16> for i128

Source§

impl SmallInt<i16> for isize

Source§

impl SmallInt<i32> for i32

Source§

impl SmallInt<i32> for i64

Source§

impl SmallInt<i32> for i128

Source§

impl SmallInt<i32> for isize

Source§

impl SmallInt<i64> for i64

Source§

impl SmallInt<i64> for i128

Source§

impl SmallInt<i64> for isize

Source§

impl SmallInt<i128> for i128

Source§

impl SmallInt<i128> for isize

Source§

impl SmallInt<isize> for i8

Source§

impl SmallInt<isize> for i16

Source§

impl SmallInt<isize> for i32

Source§

impl SmallInt<isize> for i64

Source§

impl SmallInt<isize> for i128

Source§

impl SmallInt<isize> for isize

Source§

impl SmallInt<u8> for u8

Source§

fn small_int(self) -> u8

Source§

impl SmallInt<u8> for u16

Source§

fn small_int(self) -> u8

Source§

impl SmallInt<u8> for u32

Source§

fn small_int(self) -> u8

Source§

impl SmallInt<u8> for u64

Source§

fn small_int(self) -> u8

Source§

impl SmallInt<u8> for u128

Source§

fn small_int(self) -> u8

Source§

impl SmallInt<u8> for usize

Source§

fn small_int(self) -> u8

Source§

impl SmallInt<u16> for u16

Source§

impl SmallInt<u16> for u32

Source§

impl SmallInt<u16> for u64

Source§

impl SmallInt<u16> for u128

Source§

impl SmallInt<u16> for usize

Source§

impl SmallInt<u32> for u32

Source§

impl SmallInt<u32> for u64

Source§

impl SmallInt<u32> for u128

Source§

impl SmallInt<u32> for usize

Source§

impl SmallInt<u64> for u64

Source§

impl SmallInt<u64> for u128

Source§

impl SmallInt<u64> for usize

Source§

impl SmallInt<u128> for u128

Source§

impl SmallInt<u128> for usize

Source§

impl SmallInt<usize> for u8

Source§

impl SmallInt<usize> for u16

Source§

impl SmallInt<usize> for u32

Source§

impl SmallInt<usize> for u64

Source§

impl SmallInt<usize> for u128

Source§

impl SmallInt<usize> for usize

Implementors§