Trait CastNumExt

Source
pub trait CastNumExt<T> {
    // Required method
    fn cast_as(self) -> T;
}

Required Methods§

Source

fn cast_as(self) -> T

Implementations on Foreign Types§

Source§

impl CastNumExt<f32> for f64

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for i8

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for i16

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for i32

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for i64

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for i128

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for isize

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for u8

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for u16

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for u32

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for u64

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for u128

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f32> for usize

Source§

fn cast_as(self) -> f32

Source§

impl CastNumExt<f64> for f32

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for i8

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for i16

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for i32

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for i64

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for i128

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for isize

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for u8

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for u16

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for u32

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for u64

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for u128

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<f64> for usize

Source§

fn cast_as(self) -> f64

Source§

impl CastNumExt<i8> for f32

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for f64

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for i16

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for i32

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for i64

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for i128

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for isize

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for u8

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for u16

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for u32

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for u64

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for u128

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i8> for usize

Source§

fn cast_as(self) -> i8

Source§

impl CastNumExt<i16> for f32

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for f64

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for i8

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for i32

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for i64

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for i128

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for isize

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for u8

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for u16

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for u32

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for u64

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for u128

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i16> for usize

Source§

fn cast_as(self) -> i16

Source§

impl CastNumExt<i32> for f32

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for f64

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for i8

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for i16

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for i64

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for i128

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for isize

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for u8

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for u16

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for u32

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for u64

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for u128

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i32> for usize

Source§

fn cast_as(self) -> i32

Source§

impl CastNumExt<i64> for f32

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for f64

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for i8

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for i16

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for i32

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for i128

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for isize

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for u8

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for u16

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for u32

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for u64

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for u128

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i64> for usize

Source§

fn cast_as(self) -> i64

Source§

impl CastNumExt<i128> for f32

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for f64

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for i8

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for i16

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for i32

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for i64

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for isize

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for u8

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for u16

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for u32

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for u64

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for u128

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<i128> for usize

Source§

fn cast_as(self) -> i128

Source§

impl CastNumExt<isize> for f32

Source§

impl CastNumExt<isize> for f64

Source§

impl CastNumExt<isize> for i8

Source§

impl CastNumExt<isize> for i16

Source§

impl CastNumExt<isize> for i32

Source§

impl CastNumExt<isize> for i64

Source§

impl CastNumExt<isize> for i128

Source§

impl CastNumExt<isize> for u8

Source§

impl CastNumExt<isize> for u16

Source§

impl CastNumExt<isize> for u32

Source§

impl CastNumExt<isize> for u64

Source§

impl CastNumExt<isize> for u128

Source§

impl CastNumExt<isize> for usize

Source§

impl CastNumExt<u8> for f32

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for f64

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for i8

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for i16

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for i32

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for i64

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for i128

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for isize

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for u16

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for u32

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for u64

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for u128

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u8> for usize

Source§

fn cast_as(self) -> u8

Source§

impl CastNumExt<u16> for f32

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for f64

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for i8

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for i16

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for i32

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for i64

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for i128

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for isize

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for u8

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for u32

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for u64

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for u128

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u16> for usize

Source§

fn cast_as(self) -> u16

Source§

impl CastNumExt<u32> for f32

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for f64

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for i8

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for i16

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for i32

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for i64

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for i128

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for isize

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for u8

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for u16

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for u64

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for u128

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u32> for usize

Source§

fn cast_as(self) -> u32

Source§

impl CastNumExt<u64> for f32

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for f64

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for i8

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for i16

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for i32

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for i64

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for i128

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for isize

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for u8

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for u16

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for u32

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for u128

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u64> for usize

Source§

fn cast_as(self) -> u64

Source§

impl CastNumExt<u128> for f32

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for f64

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for i8

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for i16

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for i32

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for i64

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for i128

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for isize

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for u8

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for u16

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for u32

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for u64

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<u128> for usize

Source§

fn cast_as(self) -> u128

Source§

impl CastNumExt<usize> for f32

Source§

impl CastNumExt<usize> for f64

Source§

impl CastNumExt<usize> for i8

Source§

impl CastNumExt<usize> for i16

Source§

impl CastNumExt<usize> for i32

Source§

impl CastNumExt<usize> for i64

Source§

impl CastNumExt<usize> for i128

Source§

impl CastNumExt<usize> for isize

Source§

impl CastNumExt<usize> for u8

Source§

impl CastNumExt<usize> for u16

Source§

impl CastNumExt<usize> for u32

Source§

impl CastNumExt<usize> for u64

Source§

impl CastNumExt<usize> for u128

Implementors§