Trait cast::From
[−]
[src]
pub trait From<Src> { type Output; fn cast(_: Src) -> Self::Output; }
The "cast from" operation
Associated Types
type Output
The result of the cast operation: either Self
or Result<Self, Error>
Required Methods
Implementors
impl From<i8> for f32
impl From<i8> for f64
impl From<i8> for i8
impl From<i8> for i16
impl From<i8> for i32
impl From<i8> for isize
impl From<i8> for i64
impl From<i16> for f32
impl From<i16> for f64
impl From<i16> for i16
impl From<i16> for i32
impl From<i16> for isize
impl From<i16> for i64
impl From<i32> for f32
impl From<i32> for f64
impl From<i32> for i32
impl From<i32> for isize
impl From<i32> for i64
impl From<isize> for f32
impl From<isize> for f64
impl From<isize> for i32
impl From<isize> for isize
impl From<isize> for i64
impl From<i64> for f32
impl From<i64> for f64
impl From<i64> for i64
impl From<i8> for u8
impl From<i8> for u16
impl From<i8> for u32
impl From<i8> for usize
impl From<i8> for u64
impl From<i16> for u16
impl From<i16> for u32
impl From<i16> for usize
impl From<i16> for u64
impl From<i32> for u32
impl From<i32> for usize
impl From<i32> for u64
impl From<isize> for u32
impl From<isize> for usize
impl From<isize> for u64
impl From<i64> for u64
impl From<i16> for i8
impl From<i16> for u8
impl From<i32> for i8
impl From<i32> for i16
impl From<i32> for u8
impl From<i32> for u16
impl From<isize> for i8
impl From<isize> for i16
impl From<isize> for u8
impl From<isize> for u16
impl From<i64> for i8
impl From<i64> for i16
impl From<i64> for i32
impl From<i64> for isize
impl From<i64> for u8
impl From<i64> for u16
impl From<i64> for u32
impl From<i64> for usize
impl From<u8> for f32
impl From<u8> for f64
impl From<u8> for i16
impl From<u8> for i32
impl From<u8> for isize
impl From<u8> for i64
impl From<u8> for u8
impl From<u8> for u16
impl From<u8> for u32
impl From<u8> for usize
impl From<u8> for u64
impl From<u16> for f32
impl From<u16> for f64
impl From<u16> for i32
impl From<u16> for isize
impl From<u16> for i64
impl From<u16> for u16
impl From<u16> for u32
impl From<u16> for usize
impl From<u16> for u64
impl From<u32> for f32
impl From<u32> for f64
impl From<u32> for i64
impl From<u32> for u32
impl From<u32> for usize
impl From<u32> for u64
impl From<usize> for f32
impl From<usize> for f64
impl From<usize> for i64
impl From<usize> for u32
impl From<usize> for usize
impl From<usize> for u64
impl From<u64> for f32
impl From<u64> for f64
impl From<u64> for u64
impl From<u8> for i8
impl From<u16> for i8
impl From<u16> for i16
impl From<u16> for u8
impl From<u32> for i8
impl From<u32> for i16
impl From<u32> for i32
impl From<u32> for isize
impl From<u32> for u8
impl From<u32> for u16
impl From<usize> for i8
impl From<usize> for i16
impl From<usize> for i32
impl From<usize> for isize
impl From<usize> for u8
impl From<usize> for u16
impl From<u64> for i8
impl From<u64> for i16
impl From<u64> for i32
impl From<u64> for isize
impl From<u64> for i64
impl From<u64> for u8
impl From<u64> for u16
impl From<u64> for u32
impl From<u64> for usize
impl From<f32> for f32
impl From<f32> for f64
impl From<f64> for f64
impl From<f32> for i8
impl From<f32> for i16
impl From<f32> for i32
impl From<f32> for isize
impl From<f32> for i64
impl From<f32> for u8
impl From<f32> for u16
impl From<f32> for u32
impl From<f32> for usize
impl From<f32> for u64
impl From<f64> for i8
impl From<f64> for i16
impl From<f64> for i32
impl From<f64> for isize
impl From<f64> for i64
impl From<f64> for u8
impl From<f64> for u16
impl From<f64> for u32
impl From<f64> for usize
impl From<f64> for u64
impl From<f64> for f32