Trait acme_core::ops::unary::Square

source ·
pub trait Square {
    type Output;

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

Required Associated Types§

Required Methods§

source

fn sqr(self) -> Self::Output

Implementors§

source§

impl<T> Square for T
where T: Copy + Mul<Self, Output = Self>,

§

type Output = T