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§
Object Safety§
This trait is not object safe.