Trait Squared

Source
pub trait Squared {
    type Output;

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

Required Associated Types§

Required Methods§

Source

fn sqrd(self) -> Self::Output

Implementors§

Source§

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