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