Trait Pow

Source
pub trait Pow<T> {
    // Required method
    fn power(self, _: T) -> Self;
}

Required Methods§

Source

fn power(self, _: T) -> 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<T> Pow<T> for f32
where i32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for f64
where i32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for i8
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for i16
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for i32
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for i64
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for i128
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for isize
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for u8
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for u16
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for u32
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for u64
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for u128
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Source§

impl<T> Pow<T> for usize
where u32: Cast<T>,

Source§

fn power(self, r: T) -> Self

Implementors§

Source§

impl<T> Pow<T> for f16
where i32: Cast<T>,