snarkvm_console_types_field

Trait 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§