Powi

Trait Powi 

Source
pub trait Powi<Rhs: CubeType + Sized>: CubeType + Sized {
    // Provided methods
    fn powi(self, _rhs: Rhs) -> Self { ... }
    fn __expand_powi(
        scope: &mut Scope,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Rhs>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn powi(self, _rhs: Rhs) -> Self

Source

fn __expand_powi( scope: &mut Scope, lhs: ExpandElementTyped<Self>, rhs: ExpandElementTyped<Rhs>, ) -> ExpandElementTyped<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<i32> for f32

Source§

impl Powi<i32> for f64

Source§

impl Powi<i32> for i8

Source§

impl Powi<i32> for i16

Source§

impl Powi<i32> for i32

Source§

impl Powi<i32> for i64

Source§

impl Powi<i32> for u8

Source§

impl Powi<i32> for u16

Source§

impl Powi<i32> for u32

Source§

impl Powi<i32> for u64

Source§

impl Powi<i32> for bf16

Source§

impl Powi<i32> for f16

Implementors§

Source§

impl Powi<i32> for flex32

Source§

impl Powi<i32> for tf32

Source§

impl<P: CubePrimitive + Powi<I>, I: CubePrimitive> Powi<Line<I>> for Line<P>

Source§

impl<const POS: u8, I: CubePrimitive> Powi<I> for ElemExpand<POS>