Trait palette::num::Powu

source ·
pub trait Powu {
    // Required method
    fn powu(self, exp: u32) -> Self;
}
Expand description

Method for raising a number by a n unsigned integer exponent.

Required Methods§

source

fn powu(self, exp: u32) -> Self

Return self raised to the power of exp.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Powu for f32

source§

fn powu(self, exp: u32) -> Self

source§

impl Powu for f64

source§

fn powu(self, exp: u32) -> Self

source§

impl Powu for u8

source§

fn powu(self, exp: u32) -> Self

source§

impl Powu for u16

source§

fn powu(self, exp: u32) -> Self

source§

impl Powu for u32

source§

fn powu(self, exp: u32) -> Self

source§

impl Powu for u64

source§

fn powu(self, exp: u32) -> Self

source§

impl Powu for u128

source§

fn powu(self, exp: u32) -> Self

Implementors§