pub trait Square {
// Required method
fn square(self) -> Self;
}
Expand description
Value that can be multiplied by itself
Required Methods§
Object Safety§
This trait is not object safe.
pub trait Square {
// Required method
fn square(self) -> Self;
}
Value that can be multiplied by itself