pub trait Pow<RHS> {
type Output;
fn pow(self, rhs: RHS) -> Self::Output;
}Binary operator for raising a value to a power.
The result after applying the operator.
Loading content...fn pow(self, rhs: RHS) -> Self::Output
Returns self to the power rhs.
use num_traits::Pow;
assert_eq!(Pow::pow(10u32, 2u32), 100);
Loading content...impl<'a, 'b> Pow<&'a u8> for &'b u8[src]
impl<'a, 'b> Pow<&'a u16> for &'b u8[src]
impl<'a, 'b> Pow<&'a u32> for &'b u8[src]
impl<'a, 'b> Pow<&'a u8> for &'b i8[src]
impl<'a, 'b> Pow<&'a u16> for &'b i8[src]
impl<'a, 'b> Pow<&'a u32> for &'b i8[src]
impl<'a, 'b> Pow<&'a u8> for &'b u16[src]
impl<'a, 'b> Pow<&'a u8> for &'b i16[src]
impl<'a, 'b> Pow<&'a u8> for &'b u32[src]
impl<'a, 'b> Pow<&'a u8> for &'b i32[src]
impl<'a, 'b> Pow<&'a u8> for &'b u64[src]
impl<'a, 'b> Pow<&'a u8> for &'b i64[src]
impl<'a, 'b> Pow<&'a i8> for &'b f32[src]
impl<'a, 'b> Pow<&'a u8> for &'b f32[src]
impl<'a, 'b> Pow<&'a i8> for &'b f64[src]
impl<'a, 'b> Pow<&'a u8> for &'b f64[src]
Loading content...Loading content...