Trait sp_arithmetic::rational::MultiplyRational

source ·
pub trait MultiplyRational: Sized {
    // Required method
    fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>;
}

Required Methods§

source

fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MultiplyRational for u8

source§

fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>

source§

impl MultiplyRational for u16

source§

fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>

source§

impl MultiplyRational for u32

source§

fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>

source§

impl MultiplyRational for u64

source§

fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>

source§

impl MultiplyRational for u128

source§

fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>

Implementors§