[−][src]Trait typenum::marker_traits::Integer
The marker trait for compile time signed integers.
This trait should not be implemented for anything outside this crate.
Example
use typenum::{P3, Integer}; assert_eq!(P3::to_i32(), 3); assert_eq!(P3::I32, 3);
Associated Constants
Required Methods
Implementors
impl Integer for Z0[src]
impl Integer for Z0const I8: i8[src]
const I16: i16[src]
const I32: i32[src]
const I64: i64[src]
const ISIZE: isize[src]
fn to_i8() -> i8[src]
fn to_i8() -> i8fn to_i16() -> i16[src]
fn to_i16() -> i16fn to_i32() -> i32[src]
fn to_i32() -> i32fn to_i64() -> i64[src]
fn to_i64() -> i64fn to_isize() -> isize[src]
fn to_isize() -> isizeimpl<U: Unsigned + NonZero> Integer for NInt<U>[src]
impl<U: Unsigned + NonZero> Integer for NInt<U>const I8: i8[src]
const I16: i16[src]
const I32: i32[src]
const I64: i64[src]
const ISIZE: isize[src]
fn to_i8() -> i8[src]
fn to_i8() -> i8fn to_i16() -> i16[src]
fn to_i16() -> i16fn to_i32() -> i32[src]
fn to_i32() -> i32fn to_i64() -> i64[src]
fn to_i64() -> i64fn to_isize() -> isize[src]
fn to_isize() -> isizeimpl<U: Unsigned + NonZero> Integer for PInt<U>[src]
impl<U: Unsigned + NonZero> Integer for PInt<U>