Trait snarkvm_circuit_types::Pow
source · pub trait Pow<RHS> {
type Output;
// Required method
fn pow(self, rhs: RHS) -> Self::Output;
}
Expand description
Binary operator for raising a value to a power.
Required Associated Types§
Required Methods§
Trait Implementations§
source§impl<E> OutputMode<dyn Pow<Field<E>, Output = Field<E>>> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn Pow<Field<E>, Output = Field<E>>> for Field<E>where E: Environment,
type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)
source§fn output_mode(
case: &<Field<E> as OutputMode<dyn Pow<Field<E>, Output = Field<E>>>>::Case
) -> Mode
fn output_mode( case: &<Field<E> as OutputMode<dyn Pow<Field<E>, Output = Field<E>>>>::Case ) -> Mode
Returns the mode of the output.