Trait brontes_types::utils::ToScaledRational

source ·
pub trait ToScaledRational {
    // Required method
    fn to_scaled_rational(self, decimals: u8) -> Rational;
}

Required Methods§

source

fn to_scaled_rational(self, decimals: u8) -> Rational

Implementations on Foreign Types§

source§

impl ToScaledRational for i128

source§

fn to_scaled_rational(self, decimals: u8) -> Rational

source§

impl ToScaledRational for u64

source§

fn to_scaled_rational(self, decimals: u8) -> Rational

source§

impl ToScaledRational for u128

source§

fn to_scaled_rational(self, decimals: u8) -> Rational

source§

impl ToScaledRational for I256

source§

fn to_scaled_rational(self, decimals: u8) -> Rational

source§

impl ToScaledRational for Rational

source§

fn to_scaled_rational(self, decimals: u8) -> Rational

source§

impl ToScaledRational for U256

source§

fn to_scaled_rational(self, decimals: u8) -> Rational

Implementors§