Trait 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>

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 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§