pub trait PowOps: Sized {
type Float;
// Required methods
fn powi(&self, n: i32) -> Self;
fn powf(&self, f: Self::Float) -> Self;
fn pow(&self, f: Self) -> Self;
fn sqrt(&self) -> Self;
}
Required Associated Types§
type Float
Required Methods§
fn powi(&self, n: i32) -> Self
fn powf(&self, f: Self::Float) -> Self
fn pow(&self, f: Self) -> Self
fn sqrt(&self) -> Self
Object Safety§
This trait is not object safe.