Trait snarkvm_console_types_integers::Square

source ·
pub trait Square {
    type Output;

    // Required method
    fn square(&self) -> Self::Output;
}
Expand description

Unary operator for retrieving the squared value.

Required Associated Types§

Required Methods§

source

fn square(&self) -> Self::Output

Implementors§

source§

impl<E> Square for Field<E>
where E: Environment,

source§

impl<E> Square for Scalar<E>
where E: Environment,

source§

impl<E: Environment, I: IntegerType> Square for Integer<E, I>

source§

type Output = Integer<E, I>