wiwi::num

Trait FromNumLossy

Source
pub trait FromNumLossy<Num>
where Self: Sealed,
{ // Required method fn from_num_lossy(num: Num) -> Self; }

Required Methods§

Source

fn from_num_lossy(num: Num) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromNumLossy<f32> for i8

Source§

impl FromNumLossy<f32> for i16

Source§

impl FromNumLossy<f32> for i32

Source§

impl FromNumLossy<f32> for i64

Source§

impl FromNumLossy<f32> for i128

Source§

impl FromNumLossy<f32> for isize

Source§

impl FromNumLossy<f32> for u8

Source§

impl FromNumLossy<f32> for u16

Source§

impl FromNumLossy<f32> for u32

Source§

impl FromNumLossy<f32> for u64

Source§

impl FromNumLossy<f32> for u128

Source§

impl FromNumLossy<f32> for usize

Source§

impl FromNumLossy<f64> for f32

Source§

impl FromNumLossy<f64> for i8

Source§

impl FromNumLossy<f64> for i16

Source§

impl FromNumLossy<f64> for i32

Source§

impl FromNumLossy<f64> for i64

Source§

impl FromNumLossy<f64> for i128

Source§

impl FromNumLossy<f64> for isize

Source§

impl FromNumLossy<f64> for u8

Source§

impl FromNumLossy<f64> for u16

Source§

impl FromNumLossy<f64> for u32

Source§

impl FromNumLossy<f64> for u64

Source§

impl FromNumLossy<f64> for u128

Source§

impl FromNumLossy<f64> for usize

Source§

impl FromNumLossy<i8> for u8

Source§

impl FromNumLossy<i8> for u16

Source§

impl FromNumLossy<i8> for u32

Source§

impl FromNumLossy<i8> for u64

Source§

impl FromNumLossy<i8> for u128

Source§

impl FromNumLossy<i8> for usize

Source§

impl FromNumLossy<i16> for i8

Source§

impl FromNumLossy<i16> for u8

Source§

impl FromNumLossy<i16> for u16

Source§

impl FromNumLossy<i16> for u32

Source§

impl FromNumLossy<i16> for u64

Source§

impl FromNumLossy<i16> for u128

Source§

impl FromNumLossy<i16> for usize

Source§

impl FromNumLossy<i32> for f32

Source§

impl FromNumLossy<i32> for i8

Source§

impl FromNumLossy<i32> for i16

Source§

impl FromNumLossy<i32> for u8

Source§

impl FromNumLossy<i32> for u16

Source§

impl FromNumLossy<i32> for u32

Source§

impl FromNumLossy<i32> for u64

Source§

impl FromNumLossy<i32> for u128

Source§

impl FromNumLossy<i32> for usize

Source§

impl FromNumLossy<i64> for f32

Source§

impl FromNumLossy<i64> for f64

Source§

impl FromNumLossy<i64> for i8

Source§

impl FromNumLossy<i64> for i16

Source§

impl FromNumLossy<i64> for i32

Source§

impl FromNumLossy<i64> for u8

Source§

impl FromNumLossy<i64> for u16

Source§

impl FromNumLossy<i64> for u32

Source§

impl FromNumLossy<i64> for u64

Source§

impl FromNumLossy<i64> for u128

Source§

impl FromNumLossy<i64> for usize

Source§

impl FromNumLossy<i128> for f32

Source§

impl FromNumLossy<i128> for f64

Source§

impl FromNumLossy<i128> for i8

Source§

impl FromNumLossy<i128> for i16

Source§

impl FromNumLossy<i128> for i32

Source§

impl FromNumLossy<i128> for i64

Source§

impl FromNumLossy<i128> for isize

Source§

impl FromNumLossy<i128> for u8

Source§

impl FromNumLossy<i128> for u16

Source§

impl FromNumLossy<i128> for u32

Source§

impl FromNumLossy<i128> for u64

Source§

impl FromNumLossy<i128> for u128

Source§

impl FromNumLossy<i128> for usize

Source§

impl FromNumLossy<isize> for f32

Source§

impl FromNumLossy<isize> for f64

Source§

impl FromNumLossy<isize> for i8

Source§

impl FromNumLossy<isize> for i16

Source§

impl FromNumLossy<isize> for i32

Source§

impl FromNumLossy<isize> for u8

Source§

impl FromNumLossy<isize> for u16

Source§

impl FromNumLossy<isize> for u32

Source§

impl FromNumLossy<isize> for u64

Source§

impl FromNumLossy<isize> for u128

Source§

impl FromNumLossy<isize> for usize

Source§

impl FromNumLossy<u8> for i8

Source§

impl FromNumLossy<u16> for i8

Source§

impl FromNumLossy<u16> for i16

Source§

impl FromNumLossy<u16> for u8

Source§

impl FromNumLossy<u32> for f32

Source§

impl FromNumLossy<u32> for i8

Source§

impl FromNumLossy<u32> for i16

Source§

impl FromNumLossy<u32> for i32

Source§

impl FromNumLossy<u32> for u8

Source§

impl FromNumLossy<u32> for u16

Source§

impl FromNumLossy<u64> for f32

Source§

impl FromNumLossy<u64> for f64

Source§

impl FromNumLossy<u64> for i8

Source§

impl FromNumLossy<u64> for i16

Source§

impl FromNumLossy<u64> for i32

Source§

impl FromNumLossy<u64> for i64

Source§

impl FromNumLossy<u64> for isize

Source§

impl FromNumLossy<u64> for u8

Source§

impl FromNumLossy<u64> for u16

Source§

impl FromNumLossy<u64> for u32

Source§

impl FromNumLossy<u128> for f32

Source§

impl FromNumLossy<u128> for f64

Source§

impl FromNumLossy<u128> for i8

Source§

impl FromNumLossy<u128> for i16

Source§

impl FromNumLossy<u128> for i32

Source§

impl FromNumLossy<u128> for i64

Source§

impl FromNumLossy<u128> for i128

Source§

impl FromNumLossy<u128> for isize

Source§

impl FromNumLossy<u128> for u8

Source§

impl FromNumLossy<u128> for u16

Source§

impl FromNumLossy<u128> for u32

Source§

impl FromNumLossy<u128> for u64

Source§

impl FromNumLossy<u128> for usize

Source§

impl FromNumLossy<usize> for f32

Source§

impl FromNumLossy<usize> for f64

Source§

impl FromNumLossy<usize> for i8

Source§

impl FromNumLossy<usize> for i16

Source§

impl FromNumLossy<usize> for i32

Source§

impl FromNumLossy<usize> for i64

Source§

impl FromNumLossy<usize> for isize

Source§

impl FromNumLossy<usize> for u8

Source§

impl FromNumLossy<usize> for u16

Source§

impl FromNumLossy<usize> for u32

Implementors§

Source§

impl<NFrom, NInto> FromNumLossy<NFrom> for NInto
where NInto: FromNum<NFrom>,