wiwi::num

Trait IntoU128

Source
pub trait IntoU128
where Self: Sealed,
{ // Required method fn into_u128(self) -> u128; }
Expand description

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

Required Methods§

Source

fn into_u128(self) -> u128

Convert into a u128 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 IntoU128 for bool

Source§

impl IntoU128 for u8

Source§

impl IntoU128 for u16

Source§

impl IntoU128 for u32

Source§

impl IntoU128 for u64

Source§

impl IntoU128 for u128

Source§

impl IntoU128 for usize

Implementors§