Trait rustc::util::num::ToPrimitive
[−]
[src]
pub trait ToPrimitive { fn to_i8(&self) -> Option<i8>; fn to_i16(&self) -> Option<i16>; fn to_i32(&self) -> Option<i32>; fn to_i64(&self) -> Option<i64>; fn to_u8(&self) -> Option<u8>; fn to_u16(&self) -> Option<u16>; fn to_u32(&self) -> Option<u32>; fn to_u64(&self) -> Option<u64>; }
Unstable (
rustc_private
)Required Methods
fn to_i8(&self) -> Option<i8>
Unstable (
rustc_private
)fn to_i16(&self) -> Option<i16>
Unstable (
rustc_private
)fn to_i32(&self) -> Option<i32>
Unstable (
rustc_private
)fn to_i64(&self) -> Option<i64>
Unstable (
rustc_private
)fn to_u8(&self) -> Option<u8>
Unstable (
rustc_private
)fn to_u16(&self) -> Option<u16>
Unstable (
rustc_private
)fn to_u32(&self) -> Option<u32>
Unstable (
rustc_private
)fn to_u64(&self) -> Option<u64>
Unstable (
rustc_private
)