wiwi::num

Trait FromI128Lossy

Source
pub trait FromI128Lossy
where Self: Sealed,
{ // Required method fn from_i128_lossy(value: i128) -> Self; }
Expand description

Trait for number types that can be converted from i128, potentially lossily

Required Methods§

Source

fn from_i128_lossy(value: i128) -> Self

Convert from a i128 value

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 FromI128Lossy for f32

Source§

impl FromI128Lossy for f64

Source§

impl FromI128Lossy for i8

Source§

impl FromI128Lossy for i16

Source§

impl FromI128Lossy for i32

Source§

impl FromI128Lossy for i64

Source§

impl FromI128Lossy for i128

Source§

impl FromI128Lossy for isize

Source§

impl FromI128Lossy for u8

Source§

impl FromI128Lossy for u16

Source§

impl FromI128Lossy for u32

Source§

impl FromI128Lossy for u64

Source§

impl FromI128Lossy for u128

Source§

impl FromI128Lossy for usize

Implementors§