[][src]Trait num_traits::pow::Pow

pub trait Pow<RHS> {
    type Output;
    fn pow(self, rhs: RHS) -> Self::Output;
}

Binary operator for raising a value to a power.

Associated Types

type Output

The result after applying the operator.

Loading content...

Required methods

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

Returns self to the power rhs.

Examples

use num_traits::Pow;
assert_eq!(Pow::pow(10u32, 2u32), 100);
Loading content...

Implementations on Foreign Types

impl Pow<u8> for Wrapping<u8>[src]

type Output = Wrapping<u8>

impl<'a> Pow<&'a u8> for Wrapping<u8>[src]

type Output = Wrapping<u8>

impl<'a> Pow<u8> for &'a Wrapping<u8>[src]

type Output = Wrapping<u8>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<u8>[src]

type Output = Wrapping<u8>

impl Pow<usize> for Wrapping<u8>[src]

type Output = Wrapping<u8>

impl<'a> Pow<&'a usize> for Wrapping<u8>[src]

type Output = Wrapping<u8>

impl<'a> Pow<usize> for &'a Wrapping<u8>[src]

type Output = Wrapping<u8>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<u8>[src]

type Output = Wrapping<u8>

impl Pow<u8> for Wrapping<i8>[src]

type Output = Wrapping<i8>

impl<'a> Pow<&'a u8> for Wrapping<i8>[src]

type Output = Wrapping<i8>

impl<'a> Pow<u8> for &'a Wrapping<i8>[src]

type Output = Wrapping<i8>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<i8>[src]

type Output = Wrapping<i8>

impl Pow<usize> for Wrapping<i8>[src]

type Output = Wrapping<i8>

impl<'a> Pow<&'a usize> for Wrapping<i8>[src]

type Output = Wrapping<i8>

impl<'a> Pow<usize> for &'a Wrapping<i8>[src]

type Output = Wrapping<i8>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<i8>[src]

type Output = Wrapping<i8>

impl Pow<u8> for Wrapping<u16>[src]

type Output = Wrapping<u16>

impl<'a> Pow<&'a u8> for Wrapping<u16>[src]

type Output = Wrapping<u16>

impl<'a> Pow<u8> for &'a Wrapping<u16>[src]

type Output = Wrapping<u16>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<u16>[src]

type Output = Wrapping<u16>

impl Pow<usize> for Wrapping<u16>[src]

type Output = Wrapping<u16>

impl<'a> Pow<&'a usize> for Wrapping<u16>[src]

type Output = Wrapping<u16>

impl<'a> Pow<usize> for &'a Wrapping<u16>[src]

type Output = Wrapping<u16>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<u16>[src]

type Output = Wrapping<u16>

impl Pow<u8> for Wrapping<i16>[src]

type Output = Wrapping<i16>

impl<'a> Pow<&'a u8> for Wrapping<i16>[src]

type Output = Wrapping<i16>

impl<'a> Pow<u8> for &'a Wrapping<i16>[src]

type Output = Wrapping<i16>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<i16>[src]

type Output = Wrapping<i16>

impl Pow<usize> for Wrapping<i16>[src]

type Output = Wrapping<i16>

impl<'a> Pow<&'a usize> for Wrapping<i16>[src]

type Output = Wrapping<i16>

impl<'a> Pow<usize> for &'a Wrapping<i16>[src]

type Output = Wrapping<i16>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<i16>[src]

type Output = Wrapping<i16>

impl Pow<u8> for Wrapping<u32>[src]

type Output = Wrapping<u32>

impl<'a> Pow<&'a u8> for Wrapping<u32>[src]

type Output = Wrapping<u32>

impl<'a> Pow<u8> for &'a Wrapping<u32>[src]

type Output = Wrapping<u32>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<u32>[src]

type Output = Wrapping<u32>

impl Pow<usize> for Wrapping<u32>[src]

type Output = Wrapping<u32>

impl<'a> Pow<&'a usize> for Wrapping<u32>[src]

type Output = Wrapping<u32>

impl<'a> Pow<usize> for &'a Wrapping<u32>[src]

type Output = Wrapping<u32>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<u32>[src]

type Output = Wrapping<u32>

impl Pow<u8> for Wrapping<i32>[src]

type Output = Wrapping<i32>

impl<'a> Pow<&'a u8> for Wrapping<i32>[src]

type Output = Wrapping<i32>

impl<'a> Pow<u8> for &'a Wrapping<i32>[src]

type Output = Wrapping<i32>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<i32>[src]

type Output = Wrapping<i32>

impl Pow<usize> for Wrapping<i32>[src]

type Output = Wrapping<i32>

impl<'a> Pow<&'a usize> for Wrapping<i32>[src]

type Output = Wrapping<i32>

impl<'a> Pow<usize> for &'a Wrapping<i32>[src]

type Output = Wrapping<i32>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<i32>[src]

type Output = Wrapping<i32>

impl Pow<u8> for Wrapping<u64>[src]

type Output = Wrapping<u64>

impl<'a> Pow<&'a u8> for Wrapping<u64>[src]

type Output = Wrapping<u64>

impl<'a> Pow<u8> for &'a Wrapping<u64>[src]

type Output = Wrapping<u64>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<u64>[src]

type Output = Wrapping<u64>

impl Pow<usize> for Wrapping<u64>[src]

type Output = Wrapping<u64>

impl<'a> Pow<&'a usize> for Wrapping<u64>[src]

type Output = Wrapping<u64>

impl<'a> Pow<usize> for &'a Wrapping<u64>[src]

type Output = Wrapping<u64>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<u64>[src]

type Output = Wrapping<u64>

impl Pow<u8> for Wrapping<i64>[src]

type Output = Wrapping<i64>

impl<'a> Pow<&'a u8> for Wrapping<i64>[src]

type Output = Wrapping<i64>

impl<'a> Pow<u8> for &'a Wrapping<i64>[src]

type Output = Wrapping<i64>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<i64>[src]

type Output = Wrapping<i64>

impl Pow<usize> for Wrapping<i64>[src]

type Output = Wrapping<i64>

impl<'a> Pow<&'a usize> for Wrapping<i64>[src]

type Output = Wrapping<i64>

impl<'a> Pow<usize> for &'a Wrapping<i64>[src]

type Output = Wrapping<i64>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<i64>[src]

type Output = Wrapping<i64>

impl Pow<u8> for Wrapping<u128>[src]

type Output = Wrapping<u128>

impl<'a> Pow<&'a u8> for Wrapping<u128>[src]

type Output = Wrapping<u128>

impl<'a> Pow<u8> for &'a Wrapping<u128>[src]

type Output = Wrapping<u128>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<u128>[src]

type Output = Wrapping<u128>

impl Pow<usize> for Wrapping<u128>[src]

type Output = Wrapping<u128>

impl<'a> Pow<&'a usize> for Wrapping<u128>[src]

type Output = Wrapping<u128>

impl<'a> Pow<usize> for &'a Wrapping<u128>[src]

type Output = Wrapping<u128>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<u128>[src]

type Output = Wrapping<u128>

impl Pow<u8> for Wrapping<i128>[src]

type Output = Wrapping<i128>

impl<'a> Pow<&'a u8> for Wrapping<i128>[src]

type Output = Wrapping<i128>

impl<'a> Pow<u8> for &'a Wrapping<i128>[src]

type Output = Wrapping<i128>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<i128>[src]

type Output = Wrapping<i128>

impl Pow<usize> for Wrapping<i128>[src]

type Output = Wrapping<i128>

impl<'a> Pow<&'a usize> for Wrapping<i128>[src]

type Output = Wrapping<i128>

impl<'a> Pow<usize> for &'a Wrapping<i128>[src]

type Output = Wrapping<i128>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<i128>[src]

type Output = Wrapping<i128>

impl Pow<u8> for Wrapping<usize>[src]

type Output = Wrapping<usize>

impl<'a> Pow<&'a u8> for Wrapping<usize>[src]

type Output = Wrapping<usize>

impl<'a> Pow<u8> for &'a Wrapping<usize>[src]

type Output = Wrapping<usize>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<usize>[src]

type Output = Wrapping<usize>

impl Pow<usize> for Wrapping<usize>[src]

type Output = Wrapping<usize>

impl<'a> Pow<&'a usize> for Wrapping<usize>[src]

type Output = Wrapping<usize>

impl<'a> Pow<usize> for &'a Wrapping<usize>[src]

type Output = Wrapping<usize>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<usize>[src]

type Output = Wrapping<usize>

impl Pow<u8> for Wrapping<isize>[src]

type Output = Wrapping<isize>

impl<'a> Pow<&'a u8> for Wrapping<isize>[src]

type Output = Wrapping<isize>

impl<'a> Pow<u8> for &'a Wrapping<isize>[src]

type Output = Wrapping<isize>

impl<'a, 'b> Pow<&'a u8> for &'b Wrapping<isize>[src]

type Output = Wrapping<isize>

impl Pow<usize> for Wrapping<isize>[src]

type Output = Wrapping<isize>

impl<'a> Pow<&'a usize> for Wrapping<isize>[src]

type Output = Wrapping<isize>

impl<'a> Pow<usize> for &'a Wrapping<isize>[src]

type Output = Wrapping<isize>

impl<'a, 'b> Pow<&'a usize> for &'b Wrapping<isize>[src]

type Output = Wrapping<isize>

Loading content...

Implementors

impl Pow<u8> for i8[src]

type Output = i8

impl Pow<u8> for i16[src]

type Output = i16

impl Pow<u8> for i32[src]

type Output = i32

impl Pow<u8> for i64[src]

type Output = i64

impl Pow<u8> for i128[src]

type Output = i128

impl Pow<u8> for isize[src]

type Output = isize

impl Pow<u8> for u8[src]

type Output = u8

impl Pow<u8> for u16[src]

type Output = u16

impl Pow<u8> for u32[src]

type Output = u32

impl Pow<u8> for u64[src]

type Output = u64

impl Pow<u8> for u128[src]

type Output = u128

impl Pow<u8> for usize[src]

type Output = usize

impl Pow<u16> for i8[src]

type Output = i8

impl Pow<u16> for i16[src]

type Output = i16

impl Pow<u16> for i32[src]

type Output = i32

impl Pow<u16> for i64[src]

type Output = i64

impl Pow<u16> for i128[src]

type Output = i128

impl Pow<u16> for isize[src]

type Output = isize

impl Pow<u16> for u8[src]

type Output = u8

impl Pow<u16> for u16[src]

type Output = u16

impl Pow<u16> for u32[src]

type Output = u32

impl Pow<u16> for u64[src]

type Output = u64

impl Pow<u16> for u128[src]

type Output = u128

impl Pow<u16> for usize[src]

type Output = usize

impl Pow<u32> for i8[src]

type Output = i8

impl Pow<u32> for i16[src]

type Output = i16

impl Pow<u32> for i32[src]

type Output = i32

impl Pow<u32> for i64[src]

type Output = i64

impl Pow<u32> for i128[src]

type Output = i128

impl Pow<u32> for isize[src]

type Output = isize

impl Pow<u32> for u8[src]

type Output = u8

impl Pow<u32> for u16[src]

type Output = u16

impl Pow<u32> for u32[src]

type Output = u32

impl Pow<u32> for u64[src]

type Output = u64

impl Pow<u32> for u128[src]

type Output = u128

impl Pow<u32> for usize[src]

type Output = usize

impl Pow<usize> for i8[src]

type Output = i8

impl Pow<usize> for i16[src]

type Output = i16

impl Pow<usize> for i32[src]

type Output = i32

impl Pow<usize> for i64[src]

type Output = i64

impl Pow<usize> for i128[src]

type Output = i128

impl Pow<usize> for isize[src]

type Output = isize

impl Pow<usize> for u8[src]

type Output = u8

impl Pow<usize> for u16[src]

type Output = u16

impl Pow<usize> for u32[src]

type Output = u32

impl Pow<usize> for u64[src]

type Output = u64

impl Pow<usize> for u128[src]

type Output = u128

impl Pow<usize> for usize[src]

type Output = usize

impl<'a> Pow<&'a u8> for i8[src]

type Output = i8

impl<'a> Pow<&'a u8> for i16[src]

type Output = i16

impl<'a> Pow<&'a u8> for i32[src]

type Output = i32

impl<'a> Pow<&'a u8> for i64[src]

type Output = i64

impl<'a> Pow<&'a u8> for i128[src]

type Output = i128

impl<'a> Pow<&'a u8> for isize[src]

type Output = isize

impl<'a> Pow<&'a u8> for u8[src]

type Output = u8

impl<'a> Pow<&'a u8> for u16[src]

type Output = u16

impl<'a> Pow<&'a u8> for u32[src]

type Output = u32

impl<'a> Pow<&'a u8> for u64[src]

type Output = u64

impl<'a> Pow<&'a u8> for u128[src]

type Output = u128

impl<'a> Pow<&'a u8> for usize[src]

type Output = usize

impl<'a> Pow<&'a u16> for i8[src]

type Output = i8

impl<'a> Pow<&'a u16> for i16[src]

type Output = i16

impl<'a> Pow<&'a u16> for i32[src]

type Output = i32

impl<'a> Pow<&'a u16> for i64[src]

type Output = i64

impl<'a> Pow<&'a u16> for i128[src]

type Output = i128

impl<'a> Pow<&'a u16> for isize[src]

type Output = isize

impl<'a> Pow<&'a u16> for u8[src]

type Output = u8

impl<'a> Pow<&'a u16> for u16[src]

type Output = u16

impl<'a> Pow<&'a u16> for u32[src]

type Output = u32

impl<'a> Pow<&'a u16> for u64[src]

type Output = u64

impl<'a> Pow<&'a u16> for u128[src]

type Output = u128

impl<'a> Pow<&'a u16> for usize[src]

type Output = usize

impl<'a> Pow<&'a u32> for i8[src]

type Output = i8

impl<'a> Pow<&'a u32> for i16[src]

type Output = i16

impl<'a> Pow<&'a u32> for i32[src]

type Output = i32

impl<'a> Pow<&'a u32> for i64[src]

type Output = i64

impl<'a> Pow<&'a u32> for i128[src]

type Output = i128

impl<'a> Pow<&'a u32> for isize[src]

type Output = isize

impl<'a> Pow<&'a u32> for u8[src]

type Output = u8

impl<'a> Pow<&'a u32> for u16[src]

type Output = u16

impl<'a> Pow<&'a u32> for u32[src]

type Output = u32

impl<'a> Pow<&'a u32> for u64[src]

type Output = u64

impl<'a> Pow<&'a u32> for u128[src]

type Output = u128

impl<'a> Pow<&'a u32> for usize[src]

type Output = usize

impl<'a> Pow<&'a usize> for i8[src]

type Output = i8

impl<'a> Pow<&'a usize> for i16[src]

type Output = i16

impl<'a> Pow<&'a usize> for i32[src]

type Output = i32

impl<'a> Pow<&'a usize> for i64[src]

type Output = i64

impl<'a> Pow<&'a usize> for i128[src]

type Output = i128

impl<'a> Pow<&'a usize> for isize[src]

type Output = isize

impl<'a> Pow<&'a usize> for u8[src]

type Output = u8

impl<'a> Pow<&'a usize> for u16[src]

type Output = u16

impl<'a> Pow<&'a usize> for u32[src]

type Output = u32

impl<'a> Pow<&'a usize> for u64[src]

type Output = u64

impl<'a> Pow<&'a usize> for u128[src]

type Output = u128

impl<'a> Pow<&'a usize> for usize[src]

type Output = usize

impl<'a> Pow<u8> for &'a i8[src]

type Output = i8

impl<'a> Pow<u8> for &'a i16[src]

type Output = i16

impl<'a> Pow<u8> for &'a i32[src]

type Output = i32

impl<'a> Pow<u8> for &'a i64[src]

type Output = i64

impl<'a> Pow<u8> for &'a i128[src]

type Output = i128

impl<'a> Pow<u8> for &'a isize[src]

type Output = isize

impl<'a> Pow<u8> for &'a u8[src]

type Output = u8

impl<'a> Pow<u8> for &'a u16[src]

type Output = u16

impl<'a> Pow<u8> for &'a u32[src]

type Output = u32

impl<'a> Pow<u8> for &'a u64[src]

type Output = u64

impl<'a> Pow<u8> for &'a u128[src]

type Output = u128

impl<'a> Pow<u8> for &'a usize[src]

type Output = usize

impl<'a> Pow<u16> for &'a i8[src]

type Output = i8

impl<'a> Pow<u16> for &'a i16[src]

type Output = i16

impl<'a> Pow<u16> for &'a i32[src]

type Output = i32

impl<'a> Pow<u16> for &'a i64[src]

type Output = i64

impl<'a> Pow<u16> for &'a i128[src]

type Output = i128

impl<'a> Pow<u16> for &'a isize[src]

type Output = isize

impl<'a> Pow<u16> for &'a u8[src]

type Output = u8

impl<'a> Pow<u16> for &'a u16[src]

type Output = u16

impl<'a> Pow<u16> for &'a u32[src]

type Output = u32

impl<'a> Pow<u16> for &'a u64[src]

type Output = u64

impl<'a> Pow<u16> for &'a u128[src]

type Output = u128

impl<'a> Pow<u16> for &'a usize[src]

type Output = usize

impl<'a> Pow<u32> for &'a i8[src]

type Output = i8

impl<'a> Pow<u32> for &'a i16[src]

type Output = i16

impl<'a> Pow<u32> for &'a i32[src]

type Output = i32

impl<'a> Pow<u32> for &'a i64[src]

type Output = i64

impl<'a> Pow<u32> for &'a i128[src]

type Output = i128

impl<'a> Pow<u32> for &'a isize[src]

type Output = isize

impl<'a> Pow<u32> for &'a u8[src]

type Output = u8

impl<'a> Pow<u32> for &'a u16[src]

type Output = u16

impl<'a> Pow<u32> for &'a u32[src]

type Output = u32

impl<'a> Pow<u32> for &'a u64[src]

type Output = u64

impl<'a> Pow<u32> for &'a u128[src]

type Output = u128

impl<'a> Pow<u32> for &'a usize[src]

type Output = usize

impl<'a> Pow<usize> for &'a i8[src]

type Output = i8

impl<'a> Pow<usize> for &'a i16[src]

type Output = i16

impl<'a> Pow<usize> for &'a i32[src]

type Output = i32

impl<'a> Pow<usize> for &'a i64[src]

type Output = i64

impl<'a> Pow<usize> for &'a i128[src]

type Output = i128

impl<'a> Pow<usize> for &'a isize[src]

type Output = isize

impl<'a> Pow<usize> for &'a u8[src]

type Output = u8

impl<'a> Pow<usize> for &'a u16[src]

type Output = u16

impl<'a> Pow<usize> for &'a u32[src]

type Output = u32

impl<'a> Pow<usize> for &'a u64[src]

type Output = u64

impl<'a> Pow<usize> for &'a u128[src]

type Output = u128

impl<'a> Pow<usize> for &'a usize[src]

type Output = usize

impl<'a, 'b> Pow<&'a u8> for &'b i8[src]

type Output = i8

impl<'a, 'b> Pow<&'a u8> for &'b i16[src]

type Output = i16

impl<'a, 'b> Pow<&'a u8> for &'b i32[src]

type Output = i32

impl<'a, 'b> Pow<&'a u8> for &'b i64[src]

type Output = i64

impl<'a, 'b> Pow<&'a u8> for &'b i128[src]

type Output = i128

impl<'a, 'b> Pow<&'a u8> for &'b isize[src]

type Output = isize

impl<'a, 'b> Pow<&'a u8> for &'b u8[src]

type Output = u8

impl<'a, 'b> Pow<&'a u8> for &'b u16[src]

type Output = u16

impl<'a, 'b> Pow<&'a u8> for &'b u32[src]

type Output = u32

impl<'a, 'b> Pow<&'a u8> for &'b u64[src]

type Output = u64

impl<'a, 'b> Pow<&'a u8> for &'b u128[src]

type Output = u128

impl<'a, 'b> Pow<&'a u8> for &'b usize[src]

type Output = usize

impl<'a, 'b> Pow<&'a u16> for &'b i8[src]

type Output = i8

impl<'a, 'b> Pow<&'a u16> for &'b i16[src]

type Output = i16

impl<'a, 'b> Pow<&'a u16> for &'b i32[src]

type Output = i32

impl<'a, 'b> Pow<&'a u16> for &'b i64[src]

type Output = i64

impl<'a, 'b> Pow<&'a u16> for &'b i128[src]

type Output = i128

impl<'a, 'b> Pow<&'a u16> for &'b isize[src]

type Output = isize

impl<'a, 'b> Pow<&'a u16> for &'b u8[src]

type Output = u8

impl<'a, 'b> Pow<&'a u16> for &'b u16[src]

type Output = u16

impl<'a, 'b> Pow<&'a u16> for &'b u32[src]

type Output = u32

impl<'a, 'b> Pow<&'a u16> for &'b u64[src]

type Output = u64

impl<'a, 'b> Pow<&'a u16> for &'b u128[src]

type Output = u128

impl<'a, 'b> Pow<&'a u16> for &'b usize[src]

type Output = usize

impl<'a, 'b> Pow<&'a u32> for &'b i8[src]

type Output = i8

impl<'a, 'b> Pow<&'a u32> for &'b i16[src]

type Output = i16

impl<'a, 'b> Pow<&'a u32> for &'b i32[src]

type Output = i32

impl<'a, 'b> Pow<&'a u32> for &'b i64[src]

type Output = i64

impl<'a, 'b> Pow<&'a u32> for &'b i128[src]

type Output = i128

impl<'a, 'b> Pow<&'a u32> for &'b isize[src]

type Output = isize

impl<'a, 'b> Pow<&'a u32> for &'b u8[src]

type Output = u8

impl<'a, 'b> Pow<&'a u32> for &'b u16[src]

type Output = u16

impl<'a, 'b> Pow<&'a u32> for &'b u32[src]

type Output = u32

impl<'a, 'b> Pow<&'a u32> for &'b u64[src]

type Output = u64

impl<'a, 'b> Pow<&'a u32> for &'b u128[src]

type Output = u128

impl<'a, 'b> Pow<&'a u32> for &'b usize[src]

type Output = usize

impl<'a, 'b> Pow<&'a usize> for &'b i8[src]

type Output = i8

impl<'a, 'b> Pow<&'a usize> for &'b i16[src]

type Output = i16

impl<'a, 'b> Pow<&'a usize> for &'b i32[src]

type Output = i32

impl<'a, 'b> Pow<&'a usize> for &'b i64[src]

type Output = i64

impl<'a, 'b> Pow<&'a usize> for &'b i128[src]

type Output = i128

impl<'a, 'b> Pow<&'a usize> for &'b isize[src]

type Output = isize

impl<'a, 'b> Pow<&'a usize> for &'b u8[src]

type Output = u8

impl<'a, 'b> Pow<&'a usize> for &'b u16[src]

type Output = u16

impl<'a, 'b> Pow<&'a usize> for &'b u32[src]

type Output = u32

impl<'a, 'b> Pow<&'a usize> for &'b u64[src]

type Output = u64

impl<'a, 'b> Pow<&'a usize> for &'b u128[src]

type Output = u128

impl<'a, 'b> Pow<&'a usize> for &'b usize[src]

type Output = usize

Loading content...