wiwi::num

Trait IntoIsize

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

Trait for number types that can be converted into isize, losslessly

Required Methods§

Source

fn into_isize(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 IntoIsize for bool

Source§

impl IntoIsize for i8

Source§

impl IntoIsize for i16

Source§

impl IntoIsize for i32

Source§

impl IntoIsize for i64

Source§

impl IntoIsize for isize

Source§

impl IntoIsize for u8

Source§

impl IntoIsize for u16

Source§

impl IntoIsize for u32

Implementors§