pub trait Rational: Clone + Copy + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> + From<f64> + PartialEq + Debug {
    // Required method
    fn pow(self, rhs: Self) -> Self;
}

Required Methods§

source

fn pow(self, rhs: Self) -> Self

Implementations on Foreign Types§

source§

impl Rational for f64

source§

fn pow(self, rhs: Self) -> Self

Implementors§