Squared

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

Implementations on Foreign Types§

Source§

impl Squared for f32

Source§

type Output = f32

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for f64

Source§

type Output = f64

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for i8

Source§

type Output = i8

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for i16

Source§

type Output = i16

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for i32

Source§

type Output = i32

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for i64

Source§

type Output = i64

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for i128

Source§

type Output = i128

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for isize

Source§

type Output = isize

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for u8

Source§

type Output = u8

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for u16

Source§

type Output = u16

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for u32

Source§

type Output = u32

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for u64

Source§

type Output = u64

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for u128

Source§

type Output = u128

Source§

fn pow2(self) -> Self::Output

Source§

impl Squared for usize

Source§

type Output = usize

Source§

fn pow2(self) -> Self::Output

Implementors§