Skip to main content

Integer

Trait Integer 

Source
pub unsafe trait Integer: Copy {
    const CONST_DEFAULT: Self;
}

Required Associated Constants§

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 Integer for char

Source§

const CONST_DEFAULT: Self = ' '

Source§

impl Integer for i8

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for i16

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for i32

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for i64

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for i128

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for isize

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for u8

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for u16

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for u32

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for u64

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for u128

Source§

const CONST_DEFAULT: Self = 0

Source§

impl Integer for usize

Source§

const CONST_DEFAULT: Self = 0

Implementors§

Source§

impl Integer for int

Source§

const CONST_DEFAULT: Self = int

Source§

impl Integer for nat

Source§

const CONST_DEFAULT: Self = nat