wiwi::num

Trait FromI64

Source
pub trait FromI64
where Self: Sealed,
{ // Required method fn from_i64(value: i64) -> Self; }
Expand description

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

Required Methods§

Source

fn from_i64(value: i64) -> Self

Convert from a i64 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 FromI64 for i64

Source§

fn from_i64(value: i64) -> i64

Source§

impl FromI64 for i128

Source§

fn from_i64(value: i64) -> i128

Source§

impl FromI64 for isize

Source§

fn from_i64(value: i64) -> isize

Implementors§