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 mixed_sign(&self) -> Self;
fn mixed_is_positive(&self) -> bool;
fn mixed_is_negative(&self) -> bool; }

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.

Returns a bool if self is positive.

Returns a bool if self is negative.

Implementations on Foreign Types

Implementors