pub trait Pow<T> { type Output; // Required method fn pow(&self, exp: T) -> Result<Self::Output, MathError>; }
Is implemented by basic types to raise a value to the power of another.
Raises the value of self to the power of an exp.
self
exp
Parameters:
Returns the value of self powered by exp as a new Output instance.
Output