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: Environment> Square for Field<E>

§

type Output = Field<E>