Trait mixed_num::MixedNum[][src]

pub trait MixedNum where
    Self: MixedConsts + MixedNumConversion<i32> + MixedNumConversion<i64> + MixedNumConversion<f32> + MixedNumConversion<f64> + PartialOrd + Sized + Div<Output = Self> + Sub<Output = Self> + Add<Output = Self> + Mul<Output = Self> + AddAssign + SubAssign + Copy
{ fn mixed_max_value() -> Self;
fn mixed_min_value() -> Self;
fn mixed_abs(&self) -> Self;
fn mixed_powi(&self, exp: i32) -> Self;
fn sign(&self) -> Self; }

Required methods

Maximum value of the type.

Minimum value of the type.

Absolute value.

Integer valued power.

Get the sign of the argument with a unit value. Zero is of positive sign.

Implementations on Foreign Types

Implementors