pub trait NegAssign {
// Required method
fn neg_assign(&mut self);
}
Expand description
Compound negation and assignment.
Required Methods§
Sourcefn neg_assign(&mut self)
fn neg_assign(&mut self)
Performs the negation.
Implementations on Foreign Types§
Source§impl NegAssign for f64
Compound negation and assignment.
impl NegAssign for f64
Compound negation and assignment.
Source§fn neg_assign(&mut self)
fn neg_assign(&mut self)
Performs the negation of self
.
Source§impl NegAssign for Complex<f64>
Compound negation and assignment.
impl NegAssign for Complex<f64>
Compound negation and assignment.
Source§fn neg_assign(&mut self)
fn neg_assign(&mut self)
Performs the negation of self
.
Source§impl NegAssign for Complex
Compound negation and assignment.
impl NegAssign for Complex
Compound negation and assignment.
Source§fn neg_assign(&mut self)
fn neg_assign(&mut self)
Performs the negation of self
.
Source§impl NegAssign for Float
Compound negation and assignment.
impl NegAssign for Float
Compound negation and assignment.
Source§fn neg_assign(&mut self)
fn neg_assign(&mut self)
Performs the negation of self
.