pub trait Square {
    type Output;

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

Unary operator for retrieving the squared value.

Required Associated Types§

Required Methods§

Implementors§