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§

impl Squared for f64

Source§

impl Squared for i8

Source§

type Output = i8

Source§

fn pow2(self) -> <i8 as Squared>::Output

Source§

impl Squared for i16

Source§

impl Squared for i32

Source§

impl Squared for i64

Source§

impl Squared for i128

Source§

impl Squared for isize

Source§

impl Squared for u8

Source§

type Output = u8

Source§

fn pow2(self) -> <u8 as Squared>::Output

Source§

impl Squared for u16

Source§

impl Squared for u32

Source§

impl Squared for u64

Source§

impl Squared for u128

Source§

impl Squared for usize

Implementors§