Trait numtraits::UpCastAs
[−]
[src]
pub trait UpCastAs<T> { fn from(_: T) -> Self; }
Required Methods
fn from(_: T) -> Self
Implementors
impl UpCastAs<u8> for u8
impl UpCastAs<u16> for u16
impl UpCastAs<u32> for u32
impl UpCastAs<u64> for u64
impl UpCastAs<i8> for i8
impl UpCastAs<i16> for i16
impl UpCastAs<i32> for i32
impl UpCastAs<i64> for i64
impl UpCastAs<f32> for f32
impl UpCastAs<f64> for f64
impl<U: UpCastAs<i16>> UpCastAs<i8> for U
impl<U: UpCastAs<i32>> UpCastAs<i16> for U
impl<U: UpCastAs<i64>> UpCastAs<i32> for U
impl<U: UpCastAs<u16>> UpCastAs<u8> for U
impl<U: UpCastAs<u32>> UpCastAs<u16> for U
impl<U: UpCastAs<u64>> UpCastAs<u32> for U
impl<U: UpCastAs<f32>> UpCastAs<i64> for U
impl<U: UpCastAs<f32>> UpCastAs<u64> for U
impl<U: UpCastAs<f64>> UpCastAs<f32> for U