../../.cargo/katex-header.html
1 2 3 4 5 6 7 8 9 10 11
use core::ops::Mul; pub trait Square { fn square(&self) -> Self; } impl<F: Mul<F, Output = Self> + Copy> Square for F { default fn square(&self) -> Self { *self * *self } }