Trait comlib_math::Signed [−][src]
pub trait Signed: Numeric + Neg<Output = Self> {
fn get_sign(self) -> Sign;
fn get_abs(self) -> Self;
}Expand description
Trait implemented by signed numbers.
Contains methods applicable to signed numbers only.