float

Trait Powf

Source
pub trait Powf {
    // Required method
    fn powf(self, other: Self) -> Self;
}
Expand description

Floating number power.

Required Methods§

Source

fn powf(self, other: Self) -> Self

Returns floating power of the number.

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.

Implementations on Foreign Types§

Source§

impl Powf for f32

Source§

fn powf(self, other: Self) -> Self

Source§

impl Powf for f64

Source§

fn powf(self, other: Self) -> Self

Implementors§