pub trait Square {
    type Output;

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

Unary operator for retrieving the squared value.

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Returns the square of self.

Returns the square of self.

Returns the square of self.

Implementors§