Neg

Trait Neg 

Source
pub trait Neg {
    type Output;

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

Required Associated Types§

Required Methods§

Source

fn neg(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl Neg for f32

Source§

type Output = f32

Source§

fn neg(self) -> f32

Source§

impl Neg for f64

Source§

type Output = f64

Source§

fn neg(self) -> f64

Source§

impl Neg for i8

Source§

type Output = i8

Source§

fn neg(self) -> i8

Source§

impl Neg for i16

Source§

type Output = i16

Source§

fn neg(self) -> i16

Source§

impl Neg for i32

Source§

type Output = i32

Source§

fn neg(self) -> i32

Source§

impl Neg for i64

Source§

type Output = i64

Source§

fn neg(self) -> i64

Source§

impl Neg for i128

Source§

impl Neg for isize

Implementors§