Trait fix::Pow
[−]
[src]
pub trait Pow { fn pow(self, exp: u32) -> Self; }
Exponentiation.
Enables being generic over integers which can be exponentiated. Why must we do this, standard library?
Required Methods
fn pow(self, exp: u32) -> Self
Raises self
to the power of exp
.
Implementors
impl Pow for u8
impl Pow for u16
impl Pow for u32
impl Pow for u64
impl Pow for usize
impl Pow for i8
impl Pow for i16
impl Pow for i32
impl Pow for i64
impl Pow for isize