Trait Abs

Source
pub trait Abs {
    type Output;

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

Required Associated Types§

Required Methods§

Source

fn abs(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl Abs for f32

Source§

type Output = f32

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for f64

Source§

type Output = f64

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for i8

Source§

type Output = i8

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for i16

Source§

type Output = i16

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for i32

Source§

type Output = i32

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for i64

Source§

type Output = i64

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for i128

Source§

type Output = i128

Source§

fn abs(self) -> Self::Output

Source§

impl Abs for isize

Source§

type Output = isize

Source§

fn abs(self) -> Self::Output

Source§

impl<T> Abs for Complex<T>
where T: Float,

Source§

type Output = T

Source§

fn abs(self) -> Self::Output

Implementors§