wiwi::num

Trait IntoIsizeLossy

Source
pub trait IntoIsizeLossy
where Self: Sealed,
{ // Required method fn into_isize_lossy(self) -> isize; }
Expand description

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

Required Methods§

Source

fn into_isize_lossy(self) -> isize

Convert into 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 IntoIsizeLossy for bool

Source§

impl IntoIsizeLossy for f32

Source§

impl IntoIsizeLossy for f64

Source§

impl IntoIsizeLossy for i8

Source§

impl IntoIsizeLossy for i16

Source§

impl IntoIsizeLossy for i32

Source§

impl IntoIsizeLossy for i64

Source§

impl IntoIsizeLossy for i128

Source§

impl IntoIsizeLossy for isize

Source§

impl IntoIsizeLossy for u8

Source§

impl IntoIsizeLossy for u16

Source§

impl IntoIsizeLossy for u32

Source§

impl IntoIsizeLossy for u64

Source§

impl IntoIsizeLossy for u128

Source§

impl IntoIsizeLossy for usize

Implementors§