wiwi::num

Trait FromIsizeLossy

Source
pub trait FromIsizeLossy
where Self: Sealed,
{ // Required method fn from_isize_lossy(value: isize) -> Self; }
Expand description

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

Required Methods§

Source

fn from_isize_lossy(value: isize) -> Self

Convert from a isize 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 FromIsizeLossy for f32

Source§

impl FromIsizeLossy for f64

Source§

impl FromIsizeLossy for i8

Source§

impl FromIsizeLossy for i16

Source§

impl FromIsizeLossy for i32

Source§

impl FromIsizeLossy for i64

Source§

impl FromIsizeLossy for i128

Source§

impl FromIsizeLossy for isize

Source§

impl FromIsizeLossy for u8

Source§

impl FromIsizeLossy for u16

Source§

impl FromIsizeLossy for u32

Source§

impl FromIsizeLossy for u64

Source§

impl FromIsizeLossy for u128

Source§

impl FromIsizeLossy for usize

Implementors§