pub trait Powf {
// Required method
fn powf(self, exp: Self) -> Self;
}
Expand description
Method for raising a number by a real number exponent.
The name “powf” is kept for familiarity, even though the exponent doesn’t have to be a floating point number.
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.