Powi

Trait Powi 

Source
pub trait Powi {
    // Required method
    fn powi(self, n: i32) -> Self;
}
Expand description

Signed integer power function

Required Methods§

Source

fn powi(self, n: i32) -> Self

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 Powi for f32

Source§

fn powi(self, n: i32) -> Self

Source§

impl Powi for f64

Source§

fn powi(self, n: i32) -> Self

Source§

impl<U> Powi for FixedI8<U>
where U: Unsigned + IsLessOrEqual<U6, Output = True> + LtU8,

Source§

fn powi(self, _n: i32) -> Self

Source§

impl<U> Powi for FixedI16<U>
where U: Unsigned + IsLessOrEqual<U14, Output = True> + LtU16,

Source§

fn powi(self, _n: i32) -> Self

Source§

impl<U> Powi for FixedI32<U>
where U: Unsigned + IsLessOrEqual<U30, Output = True> + LtU32,

Source§

fn powi(self, _n: i32) -> Self

Source§

impl<U> Powi for FixedI64<U>
where U: Unsigned + IsLessOrEqual<U62, Output = True> + LtU64,

Source§

fn powi(self, _n: i32) -> Self

Implementors§