Trait relp_num::Negateable
source · pub trait Negateable: Signed {
// Required method
fn negate(&mut self);
}
Expand description
A number that can be negated, that is, who’s sign can be flipped.
pub trait Negateable: Signed {
// Required method
fn negate(&mut self);
}
A number that can be negated, that is, who’s sign can be flipped.