Pow

Trait Pow 

Source
pub trait Pow<ExponentType> {
    // Required method
    fn pow_(self, exponent: ExponentType) -> Self;
}

Required Methods§

Source

fn pow_(self, exponent: ExponentType) -> Self

Raises th number self to the power exponent.

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 Pow<f64> for f64

Source§

fn pow_(self, exponent: f64) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<f64> for Complex<f64>

Source§

fn pow_(self, exponent: f64) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i8> for f64

Source§

fn pow_(self, exponent: i8) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i8> for Complex<f64>

Source§

fn pow_(self, exponent: i8) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i16> for f64

Source§

fn pow_(self, exponent: i16) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i16> for Complex<f64>

Source§

fn pow_(self, exponent: i16) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i32> for f64

Source§

fn pow_(self, exponent: i32) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i32> for Complex<f64>

Source§

fn pow_(self, exponent: i32) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i64> for f64

Source§

fn pow_(self, exponent: i64) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i64> for Complex<f64>

Source§

fn pow_(self, exponent: i64) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i128> for f64

Source§

fn pow_(self, exponent: i128) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<i128> for Complex<f64>

Source§

fn pow_(self, exponent: i128) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u8> for f64

Source§

fn pow_(self, exponent: u8) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u8> for Complex<f64>

Source§

fn pow_(self, exponent: u8) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u16> for f64

Source§

fn pow_(self, exponent: u16) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u16> for Complex<f64>

Source§

fn pow_(self, exponent: u16) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u32> for f64

Source§

fn pow_(self, exponent: u32) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u32> for Complex<f64>

Source§

fn pow_(self, exponent: u32) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u64> for f64

Source§

fn pow_(self, exponent: u64) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u64> for Complex<f64>

Source§

fn pow_(self, exponent: u64) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u128> for f64

Source§

fn pow_(self, exponent: u128) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<u128> for Complex<f64>

Source§

fn pow_(self, exponent: u128) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<usize> for f64

Source§

fn pow_(self, exponent: usize) -> Self

Raises th number self to the power exponent.

Source§

impl Pow<usize> for Complex<f64>

Source§

fn pow_(self, exponent: usize) -> Self

Raises th number self to the power exponent.

Implementors§