wiwi::num

Trait FromIsize

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

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

Required Methods§

Source

fn from_isize(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 FromIsize for i64

Source§

impl FromIsize for i128

Source§

impl FromIsize for isize

Implementors§