pub trait Pow {
// Required method
fn pow(self, exp: u32) -> Self;
}Expand description
Exponentiation.
Enables being generic over integers which can be exponentiated. Why must we do this, standard library?
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.