Trait Power

Source
pub trait Power {
    // Required method
    fn pow<const CALC_SCALE: u32, const SCALE_OUT: u32>(
        &self,
        exponent: u32,
        env: &Env,
    ) -> Result<Self, ArithmeticError>
       where Self: Sized;
}

Required Methods§

Source

fn pow<const CALC_SCALE: u32, const SCALE_OUT: u32>( &self, exponent: u32, env: &Env, ) -> Result<Self, ArithmeticError>
where Self: Sized,

Implementors§