impl {i,u}{8,16,32,64,size}

This commit is contained in:
Jorge Aparicio 2015-03-10 23:13:40 -05:00
parent 8afcaabee3
commit 3ff84fc5fd
9 changed files with 1004 additions and 3 deletions

View file

@ -23,7 +23,10 @@ use marker::Copy;
use clone::Clone;
use cmp::{PartialOrd, PartialEq};
#[cfg(stage0)]
pub use core::num::{Int, SignedInt, UnsignedInt};
#[cfg(not(stage0))]
pub use core::num::{Int, SignedInt};
pub use core::num::{cast, FromPrimitive, NumCast, ToPrimitive};
pub use core::num::{from_int, from_i8, from_i16, from_i32, from_i64};
pub use core::num::{from_uint, from_u8, from_u16, from_u32, from_u64};