referrerpolicy=no-referrer-when-downgrade
pub trait MultiplyRational: Sized {
    // Required method
    fn multiply_rational(self, n: Self, d: Self, r: Rounding) -> Option<Self>;
}

Required Methods§

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl MultiplyRational for u8

§

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

§

impl MultiplyRational for u16

§

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

§

impl MultiplyRational for u32

§

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

§

impl MultiplyRational for u64

§

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

§

impl MultiplyRational for u128

§

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

Implementors§