Trait r::object::Pow

source ·
pub trait Pow<Rhs> {
    type Output;

    // Required method
    fn power(self, rhs: Rhs) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn power(self, rhs: Rhs) -> Self::Output

raise self to the rhs power

Implementations on Foreign Types§

source§

impl Pow<f64> for i32

source§

type Output = f64

source§

fn power(self, rhs: f64) -> Self::Output

source§

impl Pow<i32> for i32

source§

type Output = i32

source§

fn power(self, rhs: Self) -> Self::Output

source§

impl<T> Pow<T> for f64
where f64: From<T>,

source§

type Output = f64

source§

fn power(self, rhs: T) -> Self::Output

Implementors§

source§

impl Pow<Obj> for Obj

source§

impl Pow<Vector> for Vector

source§

impl<L, R, O, LNum, RNum> Pow<Rep<R>> for Rep<L>
where L: AtomicMode + Default + Clone + MinimallyNumeric<As = LNum> + CoercibleInto<LNum>, R: AtomicMode + Default + Clone + MinimallyNumeric<As = RNum> + CoercibleInto<RNum>, (LNum, RNum): CommonNum<Common = O>, O: Pow<O, Output = O> + Default + Clone, Rep<O>: From<Vec<O>>,

source§

impl<T, U, O> Pow<OptionNA<U>> for OptionNA<T>
where T: Pow<U, Output = O>,