pub trait Pow<T> {
type Output;
// Required method
fn pow(&self, exp: T) -> Result<Self::Output, MathError>;
}Expand description
Is implemented by basic types to raise a value to the power of another.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".