[][src]Trait scales::prelude::FromInt

pub trait FromInt<I> {
    pub fn from_int(i: I) -> Self;
}

Something an integral number can be converted into.

Required methods

pub fn from_int(i: I) -> Self[src]

Convert the provided integral number into an instance of the implementing type.

Loading content...

Implementations on Foreign Types

impl FromInt<i128> for f64[src]

impl FromInt<i128> for f32[src]

impl FromInt<i64> for f64[src]

impl FromInt<i64> for f32[src]

impl FromInt<i32> for f64[src]

impl FromInt<i32> for f32[src]

impl FromInt<i16> for f64[src]

impl FromInt<i16> for f32[src]

impl FromInt<i8> for f64[src]

impl FromInt<i8> for f32[src]

impl FromInt<u128> for f64[src]

impl FromInt<u128> for f32[src]

impl FromInt<u64> for f64[src]

impl FromInt<u64> for f32[src]

impl FromInt<u32> for f64[src]

impl FromInt<u32> for f32[src]

impl FromInt<u16> for f64[src]

impl FromInt<u16> for f32[src]

impl FromInt<u8> for f64[src]

impl FromInt<u8> for f32[src]

impl FromInt<usize> for f64[src]

impl FromInt<usize> for f32[src]

Loading content...

Implementors

Loading content...