wiwi::num

Trait IntoI128

Source
pub trait IntoI128
where Self: Sealed,
{ // Required method fn into_i128(self) -> i128; }
Expand description

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

Required Methods§

Source

fn into_i128(self) -> i128

Convert into a i128 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 IntoI128 for bool

Source§

impl IntoI128 for i8

Source§

impl IntoI128 for i16

Source§

impl IntoI128 for i32

Source§

impl IntoI128 for i64

Source§

impl IntoI128 for i128

Source§

impl IntoI128 for isize

Source§

impl IntoI128 for u8

Source§

impl IntoI128 for u16

Source§

impl IntoI128 for u32

Source§

impl IntoI128 for u64

Source§

impl IntoI128 for usize

Implementors§