Trait Squared

Source
pub trait Squared {
    type Output;

    // Required method
    fn pow2(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn pow2(self) -> Self::Output

Implementors§

Source§

impl<A> Squared for A
where A: Clone + Mul<Output = A>,