Abs

Trait Abs 

Source
pub trait Abs<T = Self> {
    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

Available on crate feature std only.
Source§

type Output = f32

Source§

fn abs(self) -> Self::Output

Implementors§