Trait snarkvm_circuit::Pow

source ·
pub trait Pow<RHS> {
    type Output;

    fn pow(self, rhs: RHS) -> Self::Output;
}
Expand description

Binary operator for raising a value to a power.

Required Associated Types

The result after applying the operator.

Required Methods

Returns self to the power rhs.

Examples
use num_traits::Pow;
assert_eq!(Pow::pow(10u32, 2u32), 100);

Trait Implementations

Returns the number of constants, public inputs, private inputs, and constraints.
Returns the mode of the output.

Implementations on Foreign Types

Returns the power of self to the power of other.

Returns the power of self to the power of other.

Returns the power of self to the power of other.

Returns the power of self to the power of other.

Returns the power of self to the power of other.

Returns the power of self to the power of other.

Implementors